Uses of Enum Class
net.minecraft.world.entity.animal.equine.Variant
Packages that use Variant
Package
Description
-
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, Identifier> HorseRenderer.LOCATION_BY_VARIANT -
Uses of Variant in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as Variant -
Uses of Variant in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type VariantModifier and TypeFieldDescriptionstatic final DataComponentType<Variant> DataComponents.HORSE_VARIANT -
Uses of Variant in net.minecraft.world.entity.animal.equine
Fields in net.minecraft.world.entity.animal.equine declared as VariantFields in net.minecraft.world.entity.animal.equine with type parameters of type VariantModifier and TypeFieldDescriptionprivate static final IntFunction<Variant> Variant.BY_IDstatic final com.mojang.serialization.Codec<Variant> Variant.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Variant> Variant.STREAM_CODECMethods in net.minecraft.world.entity.animal.equine that return VariantModifier and TypeMethodDescriptionstatic VariantVariant.byId(int pId) Horse.getVariant()static VariantReturns 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.equine with parameters of type VariantModifier and TypeMethodDescriptionprivate voidHorse.setVariant(Variant pVariant) private voidHorse.setVariantAndMarkings(Variant pVariant, Markings pMarkings) Constructors in net.minecraft.world.entity.animal.equine with parameters of type Variant