Uses of Enum Class
net.minecraft.world.entity.animal.TropicalFish.Pattern
-
Uses of TropicalFish.Pattern in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final EntityVariantPredicate<TropicalFish.Pattern>
EntitySubPredicate.Types.TROPICAL_FISH
-
Uses of TropicalFish.Pattern in net.minecraft.world.entity.animal
Modifier and TypeFieldDescriptionprivate final TropicalFish.Pattern
TropicalFish.Variant.pattern
The field for thepattern
record component.Modifier and TypeFieldDescriptionprivate static final IntFunction<TropicalFish.Pattern>
TropicalFish.Pattern.BY_ID
static final com.mojang.serialization.Codec<TropicalFish.Pattern>
TropicalFish.Pattern.CODEC
Modifier and TypeMethodDescriptionstatic TropicalFish.Pattern
TropicalFish.Pattern.byId
(int p_262653_) static TropicalFish.Pattern
TropicalFish.getPattern
(int p_262604_) TropicalFish.getVariant()
TropicalFish.Variant.pattern()
Returns the value of thepattern
record component.static TropicalFish.Pattern
Returns the enum constant of this class with the specified name.static TropicalFish.Pattern[]
TropicalFish.Pattern.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescription(package private) static int
TropicalFish.packVariant
(TropicalFish.Pattern p_262598_, DyeColor p_262618_, DyeColor p_262683_) void
TropicalFish.setVariant
(TropicalFish.Pattern p_262594_) ModifierConstructorDescriptionVariant
(TropicalFish.Pattern pattern, DyeColor baseColor, DyeColor patternColor) Creates an instance of aVariant
record class.