Package org.bukkit.block.data.type
Interface Scaffolding
- All Superinterfaces:
- BlockData,- Cloneable,- Waterlogged
'bottom' indicates whether the scaffolding is floating or not.
 
'distance' indicates the distance from a scaffolding block placed above a 'bottom' scaffold.
When 'distance' reaches
'distance' indicates the distance from a scaffolding block placed above a 'bottom' scaffold.
When 'distance' reaches
getMaximumDistance() the block will drop.- 
Method SummaryModifier and TypeMethodDescriptionintGets the value of the 'distance' property.intGets the maximum allowed value of the 'distance' property.booleanisBottom()Gets the value of the 'bottom' property.voidsetBottom(boolean bottom) Sets the value of the 'bottom' property.voidsetDistance(int distance) Sets the value of the 'distance' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, requiresCorrectToolForDropsMethods inherited from interface org.bukkit.block.data.WaterloggedisWaterlogged, setWaterlogged
- 
Method Details- 
isBottomboolean isBottom()Gets the value of the 'bottom' property.- Returns:
- the 'bottom' value
 
- 
setBottomvoid setBottom(boolean bottom) Sets the value of the 'bottom' property.- Parameters:
- bottom- the new 'bottom' value
 
- 
getDistanceint getDistance()Gets the value of the 'distance' property.- Returns:
- the 'distance' value
 
- 
setDistancevoid setDistance(int distance) Sets the value of the 'distance' property.- Parameters:
- distance- the new 'distance' value
 
- 
getMaximumDistanceint getMaximumDistance()Gets the maximum allowed value of the 'distance' property.- Returns:
- the maximum 'distance' value
 
 
-