Interface TurtleEgg

All Superinterfaces:
BlockData, Cloneable, Hatchable

public interface TurtleEgg extends Hatchable
'eggs' is the number of eggs which appear in this block.
  • Method Details

    • getEggs

      int getEggs()
      Gets the value of the 'eggs' property.
      Returns:
      the 'eggs' value
    • setEggs

      void setEggs(int eggs)
      Sets the value of the 'eggs' property.
      Parameters:
      eggs - the new 'eggs' value
    • getMinimumEggs

      int getMinimumEggs()
      Gets the minimum allowed value of the 'eggs' property.
      Returns:
      the minimum 'eggs' value
    • getMaximumEggs

      int getMaximumEggs()
      Gets the maximum allowed value of the 'eggs' property.
      Returns:
      the maximum 'eggs' value