接口 Turtle

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

public interface Turtle extends Animals
Represents a turtle.
  • 方法详细资料

    • hasEgg

      boolean hasEgg()
      Gets whether the turtle has an egg
      返回:
      Whether the turtle has an egg
    • isLayingEgg

      boolean isLayingEgg()
      Gets whether the turtle is laying an egg
      返回:
      Whether the turtle is laying an egg