net.minecraft.world.entity.animal.horse

public enum Variant

implements StringRepresentable

cjm
net.minecraft.world.entity.animal.horse.Variant
net.minecraft.class_5149
net.minecraft.entity.passive.HorseColor
net.minecraft.world.entity.animal.horse.HorseColor

Enum constant summary

Enum Constant
a
WHITE
field_23816
WHITE
b
CREAMY
field_23817
CREAMY
c
CHESTNUT
field_23818
CHESTNUT
d
BROWN
field_23819
BROWN
e
BLACK
field_23820
BLACK
f
GRAY
field_23821
GRAY
g
DARK_BROWN
field_23822
DARK_BROWN

Field summary

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

Constructor summary

ModifierConstructor
private (int arg0, String arg1)

Method summary

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