Uses of Enum Class
net.minecraft.entity.passive.HorseColor
Packages that use HorseColor
Package
Description
-
Uses of HorseColor in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity with type parameters of type HorseColorModifier and TypeFieldDescriptionprivate static final Map
<HorseColor, Identifier> HorseEntityRenderer.TEXTURES
-
Uses of HorseColor in net.minecraft.client.render.entity.state
Fields in net.minecraft.client.render.entity.state declared as HorseColor -
Uses of HorseColor in net.minecraft.component
Fields in net.minecraft.component with type parameters of type HorseColorModifier and TypeFieldDescriptionstatic final ComponentType
<HorseColor> DataComponentTypes.HORSE_VARIANT
-
Uses of HorseColor in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as HorseColorFields in net.minecraft.entity.passive with type parameters of type HorseColorModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<HorseColor> HorseColor.CODEC
private static final IntFunction
<HorseColor> HorseColor.INDEX_MAPPER
static final PacketCodec
<ByteBuf, HorseColor> HorseColor.PACKET_CODEC
Methods in net.minecraft.entity.passive that return HorseColorModifier and TypeMethodDescriptionstatic HorseColor
HorseColor.byIndex
(int index) HorseEntity.getHorseColor()
static HorseColor
Returns the enum constant of this class with the specified name.static HorseColor[]
HorseColor.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.entity.passive with parameters of type HorseColorModifier and TypeMethodDescriptionprivate void
HorseEntity.setHorseColor
(HorseColor color) private void
HorseEntity.setHorseVariant
(HorseColor color, HorseMarking marking) Constructors in net.minecraft.entity.passive with parameters of type HorseColor