net.minecraft.world.entity.animal.equine

public enum Variant

implements StringRepresentable

cuy
net.minecraft.world.entity.animal.equine.Variant
net.minecraft.class_5149
net.minecraft.entity.passive.HorseColor
net.minecraft.src.C_433082_
net.minecraft.world.entity.animal.equine.HorseColor

枚举常量概要

枚举常量
a
WHITE
field_23816
WHITE
WHITE
b
CREAMY
field_23817
CREAMY
CREAMY
c
CHESTNUT
field_23818
CHESTNUT
CHESTNUT
d
BROWN
field_23819
BROWN
BROWN
e
BLACK
field_23820
BLACK
BLACK
f
GRAY
field_23821
GRAY
GRAY
g
DARK_BROWN
field_23822
DARK_BROWN
DARK_BROWN

字段概要

修饰符与类型字段
public static final com.mojang.serialization.Codec<Variant>
h
CODEC
field_41595
CODEC
f_435436_
private static final IntFunction<Variant>
j
BY_ID
field_23823
INDEX_MAPPER
f_435331_
public static final StreamCodec<io.netty.buffer.ByteBuf, Variant>
i
STREAM_CODEC
field_55972
PACKET_CODEC
f_435236_
private final int
k
id
field_23824
index
f_436563_
private final String
l
name
field_41596
id
f_435716_

构造函数概要

修饰符构造函数
private (int p_452703_, String p_457204_)

方法概要

修饰符与类型方法
public int
a()
getId()
method_27082()
getIndex()
m_441772_()
public static Variant
a(int arg0)
byId(int arg0)
method_27083(int arg0)
byIndex(int index)
m_444262_(int p_458395_)
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()