Package org.bukkit.block.data.type
Interface Shelf
- All Superinterfaces:
BlockData,Cloneable,Directional,Powerable,Waterlogged
'side_chain' represents the state of the chain on the side of the block.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumRepresents the state of the shelf's side chain. -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'side_chain' property.voidsetSideChain(Shelf.SideChain sideChain) Sets the value of the 'side_chain' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacingMethods inherited from interface org.bukkit.block.data.Powerable
isPowered, setPoweredMethods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
getSideChain
Gets the value of the 'side_chain' property.- Returns:
- the 'side_chain' value
-
setSideChain
Sets the value of the 'side_chain' property.- Parameters:
sideChain- the new 'side_chain' value
-