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 TypeMethodDescriptionintGets the maximum allowed value of the 'pickles' property.intGets the minimum allowed value of the 'pickles' property.intGets the value of the 'pickles' property.voidsetPickles(int pickles) Sets the value of the 'pickles' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods 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
-