Class TropicalFishMeta.Variant
java.lang.Object
net.minestom.server.entity.metadata.water.fish.TropicalFishMeta.Variant
- Enclosing class:
TropicalFishMeta
-
Constructor Summary
ConstructorDescriptionVariant
(@NotNull TropicalFishMeta.Type type, @NotNull TropicalFishMeta.Pattern pattern, byte bodyColor, byte patternColor) -
Method Summary
Modifier and TypeMethodDescriptionbyte
@NotNull TropicalFishMeta.Pattern
byte
@NotNull TropicalFishMeta.Type
getType()
void
setBodyColor
(byte bodyColor) void
setPattern
(@NotNull TropicalFishMeta.Pattern pattern) void
setPatternColor
(byte patternColor) void
setType
(@NotNull TropicalFishMeta.Type type)
-
Constructor Details
-
Variant
public Variant(@NotNull @NotNull TropicalFishMeta.Type type, @NotNull @NotNull TropicalFishMeta.Pattern pattern, byte bodyColor, byte patternColor)
-
-
Method Details
-
getType
-
setType
-
getPattern
-
setPattern
-
getBodyColor
public byte getBodyColor() -
setBodyColor
public void setBodyColor(byte bodyColor) -
getPatternColor
public byte getPatternColor() -
setPatternColor
public void setPatternColor(byte patternColor)
-