接口 Zoglin

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

public interface Zoglin extends Monster, Ageable
代表一个僵尸疣猪兽。
  • 方法详细资料

    • isBaby

      @Deprecated(since="1.6.2") boolean isBaby()
      已过时。
      see Ageable.isAdult()

      原文:Gets whether the zoglin is a baby

      获取僵尸疣猪兽是否为幼年。
      返回:
      僵尸疣猪兽是否为幼年
    • setBaby

      @Deprecated(since="1.16.2") void setBaby(boolean flag)
      已过时。
      see Ageable.setBaby() and Ageable.setAdult()

      原文:Sets whether the zoglin is a baby

      设置僵尸疣猪兽是否为幼年。
      参数:
      flag - 僵尸疣猪兽是否为幼年