Interface PufferFish

All Superinterfaces:
Attributable, net.kyori.adventure.audience.Audience, CommandSender, Creature, Damageable, Entity, Fish, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, net.kyori.adventure.pointer.Pointered, 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