接口 PufferFish

所有超级接口:
Attributable, CommandSender, Creature, Damageable, Entity, Fish, Leashable, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, WaterMob

public interface PufferFish extends Fish
代表一条河豚.
  • 方法详细资料

    • getPuffState

      int getPuffState()
      获取此河豚的当前膨胀状态(即膨胀程度).

      原文: Returns the current puff state of this fish (i.e. how inflated it is).

      返回:
      当前膨胀状态
    • setPuffState

      void setPuffState(int state)
      设置此河豚的当前膨胀状态(即膨胀程度).

      原文: Sets the current puff state of this fish (i.e. how inflated it is).

      参数:
      state - 新的膨胀状态