net.minecraft.world.entity.animal.horse

public enum Variant

implements StringRepresentable

bwz
net.minecraft.world.entity.animal.horse.Variant
net.minecraft.class_5149
net.minecraft.entity.passive.HorseColor
net.minecraft.src.C_941_
net.minecraft.world.entity.animal.horse.HorseColor

Enum constant summary

Enum Constant
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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Variant>
h
CODEC
field_41595
CODEC
f_262264_
private static final IntFunction<Variant>
i
BY_ID
field_23823
BY_ID
f_30977_
private final int
j
id
field_23824
id
f_30978_
private final String
k
name
field_41596
name
f_262227_

Constructor summary

ModifierConstructor
private (int p_262656_, String p_262580_)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_27082()
getId()
m_30985_()
public static Variant
a(int arg0)
byId(int arg0)
method_27083(int arg0)
byId(int id)
m_30986_(int p_30987_)
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()