Package org.bukkit.block.data
Interface Hatchable
- All Known Subinterfaces:
- TurtleEgg
'hatch' is the number of entities which may hatch from these eggs.
- 
Method SummaryMethods inherited from interface org.bukkit.block.data.BlockDataclone, createBlockState, getAsString, getAsString, getDestroySpeed, getDestroySpeed, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
- 
Method Details- 
getHatchint getHatch()Gets the value of the 'hatch' property.- Returns:
- the 'hatch' value
 
- 
setHatchvoid setHatch(int hatch) Sets the value of the 'hatch' property.- Parameters:
- hatch- the new 'hatch' value
 
- 
getMaximumHatchint getMaximumHatch()Gets the maximum allowed value of the 'hatch' property.- Returns:
- the maximum 'hatch' value
 
 
-