Interface TropicalFish

All Superinterfaces:
Attributable, CommandSender, Creature, Damageable, Entity, Fish, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, WaterMob

public interface TropicalFish extends Fish
Tropical fish.
  • Method Details

    • getPatternColor

      @NotNull DyeColor getPatternColor()
      Gets the color of the fish's pattern.
      Returns:
      pattern color
    • setPatternColor

      void setPatternColor(@NotNull DyeColor color)
      Sets the color of the fish's pattern
      Parameters:
      color - pattern color
    • getBodyColor

      @NotNull DyeColor getBodyColor()
      Gets the color of the fish's body.
      Returns:
      pattern color
    • setBodyColor

      void setBodyColor(@NotNull DyeColor color)
      Sets the color of the fish's body
      Parameters:
      color - body color
    • getPattern

      @NotNull TropicalFish.Pattern getPattern()
      Gets the fish's pattern.
      Returns:
      pattern
    • setPattern

      void setPattern(@NotNull TropicalFish.Pattern pattern)
      Sets the fish's pattern
      Parameters:
      pattern - new pattern