net.minecraft.world.entity.animal.rabbit

public enum Rabbit$Variant

implements StringRepresentable

cxh$g
net.minecraft.world.entity.animal.rabbit.Rabbit$Variant
net.minecraft.class_1463$class_7990
net.minecraft.entity.passive.RabbitEntity$Variant
net.minecraft.src.C_432255_$C_432803_
net.minecraft.world.entity.animal.rabbit.EntityRabbit$Variant

枚举常量概要

枚举常量
a
BROWN
field_41561
BROWN
BROWN
b
WHITE
field_41562
WHITE
WHITE
c
BLACK
field_41563
BLACK
BLACK
d
WHITE_SPLOTCHED
field_41564
WHITE_SPLOTCHED
WHITE_SPLOTCHED
e
GOLD
field_41565
GOLD
GOLD
f
SALT
field_41566
SALT
SALT
g
EVIL
field_41567
EVIL
EVIL

字段概要

修饰符与类型字段
public static final Rabbit$Variant
h
DEFAULT
field_57617
DEFAULT
f_433640_
private static final IntFunction<Rabbit$Variant>
l
BY_ID
field_41569
INDEX_MAPPER
f_436820_
public static final com.mojang.serialization.Codec<Rabbit$Variant>
i
CODEC
field_41568
CODEC
f_434031_
public static final com.mojang.serialization.Codec<Rabbit$Variant>
j
LEGACY_CODEC
field_56654
INDEX_CODEC
f_435235_
public static final StreamCodec<io.netty.buffer.ByteBuf, Rabbit$Variant>
k
STREAM_CODEC
field_55966
PACKET_CODEC
f_437385_
final int
m
id
field_41570
index
f_435897_
private final String
n
name
field_41571
id
f_434480_

构造函数概要

修饰符构造函数
private (int p_451074_, String p_455053_)

方法概要

修饰符与类型方法
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
public int
a()
id()
method_47856()
getIndex()
m_446868_()
public static Rabbit$Variant
a(int arg0)
byId(int arg0)
method_47857(int arg0)
byIndex(int index)
m_443675_(int p_452941_)