Package org.bukkit.block.data.type
Interface Snow
'layers' represents the amount of layers of snow which are present in this
 block.
 
May not be lower than
May not be lower than
getMinimumLayers() or higher than
 getMaximumLayers().- 
Method SummaryModifier and TypeMethodDescriptionintGets the value of the 'layers' property.intGets the maximum allowed value of the 'layers' property.intGets the minimum allowed value of the 'layers' property.voidsetLayers(int layers) Sets the value of the 'layers' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, requiresCorrectToolForDrops
- 
Method Details- 
getLayersint getLayers()Gets the value of the 'layers' property.- Returns:
- the 'layers' value
 
- 
setLayersvoid setLayers(int layers) Sets the value of the 'layers' property.- Parameters:
- layers- the new 'layers' value
 
- 
getMinimumLayersint getMinimumLayers()Gets the minimum allowed value of the 'layers' property.- Returns:
- the minimum 'layers' value
 
- 
getMaximumLayersint getMaximumLayers()Gets the maximum allowed value of the 'layers' property.- Returns:
- the maximum 'layers' value
 
 
-