Interface Turtle

All Superinterfaces:
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.
  • Method Details

    • hasEgg

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

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