Package org.bukkit.block.data.type
Interface TurtleEgg
'hatch' is the number of turtles which may hatch from these eggs.
 
'eggs' is the number of eggs which appear in this block.
'eggs' is the number of eggs which appear in this block.
- 
Method SummaryModifier and TypeMethodDescriptionintgetEggs()Gets the value of the 'eggs' property.intgetHatch()Gets the value of the 'hatch' property.intGets the maximum allowed value of the 'eggs' property.intGets the maximum allowed value of the 'hatch' property.intGets the minimum allowed value of the 'eggs' property.voidsetEggs(int eggs) Sets the value of the 'eggs' property.voidsetHatch(int hatch) Sets the value of the 'hatch' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
- 
Method Details- 
getEggsint getEggs()Gets the value of the 'eggs' property.- Returns:
- the 'eggs' value
 
- 
setEggsvoid setEggs(int eggs) Sets the value of the 'eggs' property.- Parameters:
- eggs- the new 'eggs' value
 
- 
getMinimumEggsint getMinimumEggs()Gets the minimum allowed value of the 'eggs' property.- Returns:
- the minimum 'eggs' value
 
- 
getMaximumEggsint getMaximumEggs()Gets the maximum allowed value of the 'eggs' property.- Returns:
- the maximum 'eggs' value
 
- 
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
 
 
-