Package org.bukkit.block.data.type
Interface Stairs
- All Superinterfaces:
Bisected
,BlockData
,Cloneable
,Directional
,Waterlogged
'shape' represents the texture and bounding box shape of these stairs.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The shape of a stair block - used for constructing corners.Nested classes/interfaces inherited from interface org.bukkit.block.data.Bisected
Bisected.Half
-
Method Summary
Modifier and TypeMethodDescriptiongetShape()
Gets the value of the 'shape' property.void
setShape
(Stairs.Shape shape) Sets the value of the 'shape' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
Methods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
getShape
Gets the value of the 'shape' property.- Returns:
- the 'shape' value
-
setShape
Sets the value of the 'shape' property.- Parameters:
shape
- the new 'shape' value
-