Uses of Enum Class
net.minecraft.entity.passive.TropicalFishEntity.Pattern
Packages that use TropicalFishEntity.Pattern
Package
Description
-
Uses of TropicalFishEntity.Pattern in net.minecraft.client.render.entity.state
Fields in net.minecraft.client.render.entity.state declared as TropicalFishEntity.Pattern -
Uses of TropicalFishEntity.Pattern in net.minecraft.component
Fields in net.minecraft.component with type parameters of type TropicalFishEntity.PatternModifier and TypeFieldDescriptionstatic final ComponentType
<TropicalFishEntity.Pattern> DataComponentTypes.TROPICAL_FISH_PATTERN
-
Uses of TropicalFishEntity.Pattern in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as TropicalFishEntity.PatternModifier and TypeFieldDescriptionprivate final TropicalFishEntity.Pattern
TropicalFishEntity.Variant.pattern
The field for thepattern
record component.Fields in net.minecraft.entity.passive with type parameters of type TropicalFishEntity.PatternModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<TropicalFishEntity.Pattern> TropicalFishEntity.Pattern.CODEC
private static final IntFunction
<TropicalFishEntity.Pattern> TropicalFishEntity.Pattern.INDEX_MAPPER
static final PacketCodec
<ByteBuf, TropicalFishEntity.Pattern> TropicalFishEntity.Pattern.PACKET_CODEC
Methods in net.minecraft.entity.passive that return TropicalFishEntity.PatternModifier and TypeMethodDescriptionstatic TropicalFishEntity.Pattern
TropicalFishEntity.Pattern.byIndex
(int index) TropicalFishEntity.getVariety()
static TropicalFishEntity.Pattern
TropicalFishEntity.getVariety
(int variant) TropicalFishEntity.Variant.pattern()
Returns the value of thepattern
record component.static TropicalFishEntity.Pattern
Returns the enum constant of this class with the specified name.static TropicalFishEntity.Pattern[]
TropicalFishEntity.Pattern.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.entity.passive with parameters of type TropicalFishEntity.PatternModifier and TypeMethodDescription(package private) static int
TropicalFishEntity.getVariantId
(TropicalFishEntity.Pattern variety, DyeColor baseColor, DyeColor patternColor) private void
TropicalFishEntity.setVariety
(TropicalFishEntity.Pattern variety) Constructors in net.minecraft.entity.passive with parameters of type TropicalFishEntity.PatternModifierConstructorDescriptionVariant
(TropicalFishEntity.Pattern pattern, DyeColor dyeColor, DyeColor dyeColor2)