mirror of https://github.com/FabricMC/yarn.git
Animal Variants unpicked (#2191)
* Animal variants unpicked Cats, Llamas, Parrots and Rabbits. Horses left alone because vanilla already has an enum for those * returns * types -> variants for llamas and parrots * whoops lol * constructors Co-authored-by: modmuss50 <modmuss50@gmail.com>
This commit is contained in:
parent
d882e0e085
commit
08746560f5
|
@ -0,0 +1,22 @@
|
||||||
|
/*
|
||||||
|
* This file is free for everyone to use under the Creative Commons Zero license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package net.fabricmc.yarn.constants;
|
||||||
|
|
||||||
|
public final class CatTypes {
|
||||||
|
public static final int TABBY = 0;
|
||||||
|
public static final int BLACK = 1;
|
||||||
|
public static final int RED = 2;
|
||||||
|
public static final int SIAMESE = 3;
|
||||||
|
public static final int BRITISH_SHORTHAIR = 4;
|
||||||
|
public static final int CALICO = 5;
|
||||||
|
public static final int PERSIAN = 6;
|
||||||
|
public static final int RAGDOLL = 7;
|
||||||
|
public static final int WHITE = 8;
|
||||||
|
public static final int JELLIE = 9;
|
||||||
|
public static final int ALL_BLACK = 10;
|
||||||
|
|
||||||
|
private CatTypes() {
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
/*
|
||||||
|
* This file is free for everyone to use under the Creative Commons Zero license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package net.fabricmc.yarn.constants;
|
||||||
|
|
||||||
|
public final class LlamaVariants {
|
||||||
|
public static final int CREAMY = 0;
|
||||||
|
public static final int WHITE = 1;
|
||||||
|
public static final int BROWN = 2;
|
||||||
|
public static final int GRAY = 3;
|
||||||
|
|
||||||
|
private LlamaVariants() {
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* This file is free for everyone to use under the Creative Commons Zero license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package net.fabricmc.yarn.constants;
|
||||||
|
|
||||||
|
public final class ParrotVariants {
|
||||||
|
public static final int RED_AND_BLUE = 0;
|
||||||
|
public static final int BLUE = 1;
|
||||||
|
public static final int GREEN = 2;
|
||||||
|
public static final int YELLOW_AND_BLUE = 3;
|
||||||
|
public static final int GRAY = 4;
|
||||||
|
|
||||||
|
private ParrotVariants() {
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
/*
|
||||||
|
* This file is free for everyone to use under the Creative Commons Zero license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package net.fabricmc.yarn.constants;
|
||||||
|
|
||||||
|
public final class RabbitTypes {
|
||||||
|
public static final int BROWN = 0;
|
||||||
|
public static final int ALBINO = 1;
|
||||||
|
public static final int BLACK = 2;
|
||||||
|
public static final int SPOTTED = 3;
|
||||||
|
public static final int GOLDEN = 4;
|
||||||
|
public static final int SALT_AND_PEPPER = 5;
|
||||||
|
public static final int KILLER_BUNNY = 99;
|
||||||
|
|
||||||
|
private RabbitTypes() {
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
v2
|
||||||
|
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes TABBY
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes BLACK
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes RED
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes SIAMESE
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes BRITISH_SHORTHAIR
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes CALICO
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes PERSIAN
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes RAGDOLL
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes WHITE
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes JELLIE
|
||||||
|
constant cat_types net/fabricmc/yarn/constants/CatTypes ALL_BLACK
|
||||||
|
|
||||||
|
target_method net/minecraft/entity/passive/CatEntity setCatType (I)V
|
||||||
|
param 0 cat_types
|
||||||
|
target_method net/minecraft/entity/passive/CatEntity getCatType ()I
|
||||||
|
return cat_types
|
|
@ -0,0 +1,11 @@
|
||||||
|
v2
|
||||||
|
|
||||||
|
constant llama_variants net/fabricmc/yarn/constants/LlamaVariants CREAMY
|
||||||
|
constant llama_variants net/fabricmc/yarn/constants/LlamaVariants WHITE
|
||||||
|
constant llama_variants net/fabricmc/yarn/constants/LlamaVariants BROWN
|
||||||
|
constant llama_variants net/fabricmc/yarn/constants/LlamaVariants GRAY
|
||||||
|
|
||||||
|
target_method net/minecraft/entity/passive/LlamaEntity setVariant (I)V
|
||||||
|
param 0 llama_variants
|
||||||
|
target_method net/minecraft/entity/passive/LlamaEntity getVariant ()I
|
||||||
|
return llama_variants
|
|
@ -0,0 +1,12 @@
|
||||||
|
v2
|
||||||
|
|
||||||
|
constant parrot_variants net/fabricmc/yarn/constants/ParrotVariants RED_AND_BLUE
|
||||||
|
constant parrot_variants net/fabricmc/yarn/constants/ParrotVariants BLUE
|
||||||
|
constant parrot_variants net/fabricmc/yarn/constants/ParrotVariants GREEN
|
||||||
|
constant parrot_variants net/fabricmc/yarn/constants/ParrotVariants YELLOW_AND_BLUE
|
||||||
|
constant parrot_variants net/fabricmc/yarn/constants/ParrotVariants GRAY
|
||||||
|
|
||||||
|
target_method net/minecraft/entity/passive/ParrotEntity setVariant (I)V
|
||||||
|
param 0 parrot_variants
|
||||||
|
target_method net/minecraft/entity/passive/ParrotEntity getVariant ()I
|
||||||
|
return parrot_variants
|
|
@ -0,0 +1,14 @@
|
||||||
|
v2
|
||||||
|
|
||||||
|
constant rabbit_types net/fabricmc/yarn/constants/RabbitTypes BROWN
|
||||||
|
constant rabbit_types net/fabricmc/yarn/constants/RabbitTypes ALBINO
|
||||||
|
constant rabbit_types net/fabricmc/yarn/constants/RabbitTypes BLACK
|
||||||
|
constant rabbit_types net/fabricmc/yarn/constants/RabbitTypes SPOTTED
|
||||||
|
constant rabbit_types net/fabricmc/yarn/constants/RabbitTypes GOLDEN
|
||||||
|
constant rabbit_types net/fabricmc/yarn/constants/RabbitTypes SALT_AND_PEPPER
|
||||||
|
constant rabbit_types net/fabricmc/yarn/constants/RabbitTypes KILLER_BUNNY
|
||||||
|
|
||||||
|
target_method net/minecraft/entity/passive/RabbitEntity setRabbitType (I)V
|
||||||
|
param 0 rabbit_types
|
||||||
|
target_method net/minecraft/entity/passive/RabbitEntity getRabbitType ()I
|
||||||
|
return rabbit_types
|
Loading…
Reference in New Issue