Uses of Enum Class
net.minecraft.entity.passive.RabbitEntity.RabbitType
-
Uses of RabbitEntity.RabbitType in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionprivate static final IntFunction<RabbitEntity.RabbitType>
RabbitEntity.RabbitType.BY_ID
static final StringIdentifiable.Codec<RabbitEntity.RabbitType>
RabbitEntity.RabbitType.CODEC
Modifier and TypeMethodDescriptionstatic RabbitEntity.RabbitType
RabbitEntity.RabbitType.byId
(int id) private static RabbitEntity.RabbitType
RabbitEntity.getTypeFromPos
(WorldAccess world, BlockPos pos) RabbitEntity.getVariant()
static RabbitEntity.RabbitType
Returns the enum constant of this class with the specified name.static RabbitEntity.RabbitType[]
RabbitEntity.RabbitType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
RabbitEntity.setVariant
(RabbitEntity.RabbitType rabbitType) -
Uses of RabbitEntity.RabbitType in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final VariantPredicates<RabbitEntity.RabbitType>
TypeSpecificPredicate.Deserializers.RABBIT