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.
Since:
1.20
  • Method Details

    • getHatch

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

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

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