Package org.bukkit.block.data.type
Interface TurtleEgg
'eggs' is the number of eggs which appear in this block.
-
Method Summary
Methods inherited from interface org.bukkit.block.data.BlockData
clone, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
Methods inherited from interface org.bukkit.block.data.Hatchable
getHatch, getMaximumHatch, setHatch
-
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
-