Interface PufferFish

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

public interface PufferFish extends Fish
Represents a puffer fish.
  • Method Details

    • getPuffState

      int getPuffState()
      Returns the current puff state of this fish (i.e. how inflated it is).
      Returns:
      current puff state
    • setPuffState

      void setPuffState(int state)
      Sets the current puff state of this fish (i.e. how inflated it is).
      Parameters:
      state - new puff state