Uses of Enum Class
net.minecraft.world.entity.animal.Rabbit.Variant
Packages that use Rabbit.Variant
-
Uses of Rabbit.Variant in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type Rabbit.VariantModifier and TypeFieldDescriptionstatic final EntitySubPredicates.EntityVariantPredicateType
<Rabbit.Variant> EntitySubPredicates.RABBIT
-
Uses of Rabbit.Variant in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as Rabbit.VariantFields in net.minecraft.world.entity.animal with type parameters of type Rabbit.VariantModifier and TypeFieldDescriptionprivate static final IntFunction
<Rabbit.Variant> Rabbit.Variant.BY_ID
static final com.mojang.serialization.Codec
<Rabbit.Variant> Rabbit.Variant.CODEC
Methods in net.minecraft.world.entity.animal that return Rabbit.VariantModifier and TypeMethodDescriptionstatic Rabbit.Variant
Rabbit.Variant.byId
(int pId) private static Rabbit.Variant
Rabbit.getRandomRabbitVariant
(LevelAccessor pLevel, BlockPos pPos) Rabbit.getVariant()
static Rabbit.Variant
Returns the enum constant of this class with the specified name.static Rabbit.Variant[]
Rabbit.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 with parameters of type Rabbit.VariantConstructors in net.minecraft.world.entity.animal with parameters of type Rabbit.Variant