Interface PufferFish

All Superinterfaces:
Attributable, Audience, Bucketable, CommandSender, Creature, Damageable, Entity, Fish, Frictional, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, Pointered, ProjectileSource, ServerOperator, Sound.Emitter, 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