Uses of Enum Class
net.minecraft.entity.passive.TropicalFishEntity.Variety
-
Uses of TropicalFishEntity.Variety in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionprivate final TropicalFishEntity.Variety
TropicalFishEntity.Variant.variety
The field for thevariety
record component.Modifier and TypeFieldDescriptionprivate static final IntFunction<TropicalFishEntity.Variety>
TropicalFishEntity.Variety.BY_ID
static final StringIdentifiable.Codec<TropicalFishEntity.Variety>
TropicalFishEntity.Variety.CODEC
Modifier and TypeMethodDescriptionstatic TropicalFishEntity.Variety
TropicalFishEntity.Variety.fromId
(int id) TropicalFishEntity.getVariant()
static TropicalFishEntity.Variety
TropicalFishEntity.getVariety
(int variant) static TropicalFishEntity.Variety
Returns the enum constant of this class with the specified name.static TropicalFishEntity.Variety[]
TropicalFishEntity.Variety.values()
Returns an array containing the constants of this enum class, in the order they are declared.TropicalFishEntity.Variant.variety()
Returns the value of thevariety
record component.Modifier and TypeMethodDescription(package private) static int
TropicalFishEntity.getVariantId
(TropicalFishEntity.Variety variety, DyeColor baseColor, DyeColor patternColor) void
TropicalFishEntity.setVariant
(TropicalFishEntity.Variety variety) ModifierConstructorDescriptionVariant
(TropicalFishEntity.Variety variety, DyeColor dyeColor, DyeColor dyeColor2) -
Uses of TropicalFishEntity.Variety in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final VariantPredicates<TropicalFishEntity.Variety>
TypeSpecificPredicate.Deserializers.TROPICAL_FISH