接口 PigZombie

所有超级接口:
Ageable, Attributable, CommandSender, Creature, Damageable, Enemy, Entity, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, Zombie

public interface PigZombie extends Zombie
代表僵尸猪人.
  • 方法详细资料

    • getAnger

      int getAnger()
      获取僵尸猪人当前的愤怒程度.

      原文: Get the pig zombie's current anger level.

      返回:
      愤怒程度
    • setAnger

      void setAnger(int level)
      设置僵尸猪人当前的愤怒程度.

      原文: Set the pig zombie's current anger level.

      参数:
      level - 愤怒程度.更高的愤怒程度需要更多的时间来摆脱.
    • setAngry

      void setAngry(boolean angry)
      将僵尸猪人的愤怒程度设置为0或默认等级.

      原文: Shorthand; sets to either 0 or the default level.

      参数:
      angry - 僵尸猪人是否愤怒
    • isAngry

      boolean isAngry()
      获取僵尸是否愤怒.

      原文: Shorthand; gets whether the zombie is angry.

      返回:
      僵尸猪人愤怒为true,否则为false
    • isConverting

      boolean isConverting()
      Not applicable to this entity
      指定者:
      isConverting 在接口中 Zombie
      返回:
      false
    • getConversionTime

      int getConversionTime()
      Not applicable to this entity
      指定者:
      getConversionTime 在接口中 Zombie
      返回:
      UnsuppotedOperationException
    • setConversionTime

      void setConversionTime(int time)
      Not applicable to this entity
      指定者:
      setConversionTime 在接口中 Zombie
      参数:
      time - unused