Interface Hatchable

All Superinterfaces:
BlockData, Cloneable
All Known Subinterfaces:
TurtleEgg

public interface Hatchable extends BlockData
'hatch' is the number of entities which may hatch from these eggs.
  • Method Details

    • getHatch

      int getHatch()
      Gets the value of the 'hatch' property.
      Returns:
      the 'hatch' value
    • setHatch

      void setHatch(int hatch)
      Sets the value of the 'hatch' property.
      Parameters:
      hatch - the new 'hatch' value
    • getMaximumHatch

      int getMaximumHatch()
      Gets the maximum allowed value of the 'hatch' property.
      Returns:
      the maximum 'hatch' value