接口 Turtle

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

public interface Turtle extends Animals
代表一只海龟.
  • 方法详细资料

    • hasEgg

      boolean hasEgg()
      获取海龟是否拥有蛋.

      原文: Gets whether the turtle has an egg

      返回:
      海龟是否有蛋
    • isLayingEgg

      boolean isLayingEgg()
      获取海龟是否正在下蛋.

      原文: Gets whether the turtle is laying an egg

      返回:
      海龟是否正在下蛋