Package org.bukkit.block.data.type
Interface SeaPickle
- All Superinterfaces:
BlockData
,Cloneable
,Waterlogged
'pickles' indicates the number of pickles in this block.
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the maximum allowed value of the 'pickles' property.int
Gets the minimum allowed value of the 'pickles' property.int
Gets the value of the 'pickles' property.void
setPickles
(int pickles) Sets the value of the 'pickles' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
Methods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
getPickles
int getPickles()Gets the value of the 'pickles' property.- Returns:
- the 'pickles' value
-
setPickles
void setPickles(int pickles) Sets the value of the 'pickles' property.- Parameters:
pickles
- the new 'pickles' value
-
getMinimumPickles
int getMinimumPickles()Gets the minimum allowed value of the 'pickles' property.- Returns:
- the minimum 'pickles' value
-
getMaximumPickles
int getMaximumPickles()Gets the maximum allowed value of the 'pickles' property.- Returns:
- the maximum 'pickles' value
-