Uses of Enum Class
net.minecraft.world.entity.animal.horse.Variant
Packages that use Variant
Package
Description
-
Uses of Variant in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type VariantModifier and TypeFieldDescriptionstatic final EntitySubPredicates.EntityVariantPredicateType
<Variant> EntitySubPredicates.HORSE
-
Uses of Variant in net.minecraft.client.renderer.entity
Fields in net.minecraft.client.renderer.entity with type parameters of type VariantModifier and TypeFieldDescriptionprivate static final Map
<Variant, ResourceLocation> HorseRenderer.LOCATION_BY_VARIANT
-
Uses of Variant in net.minecraft.world.entity.animal.horse
Fields in net.minecraft.world.entity.animal.horse declared as VariantFields in net.minecraft.world.entity.animal.horse with type parameters of type VariantModifier and TypeFieldDescriptionprivate static final IntFunction
<Variant> Variant.BY_ID
static final com.mojang.serialization.Codec
<Variant> Variant.CODEC
Methods in net.minecraft.world.entity.animal.horse that return VariantModifier and TypeMethodDescriptionstatic Variant
Variant.byId
(int pId) Horse.getVariant()
static Variant
Returns the enum constant of this class with the specified name.static Variant[]
Variant.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world.entity.animal.horse with parameters of type VariantModifier and TypeMethodDescriptionvoid
Horse.setVariant
(Variant pVariant) private void
Horse.setVariantAndMarkings
(Variant pVariant, Markings pMarking) Constructors in net.minecraft.world.entity.animal.horse with parameters of type Variant