Package org.bukkit.block.data
Interface Bisected
- All Known Subinterfaces:
Door
,SmallDripleaf
,Stairs
,TrapDoor
'half' denotes which half of a two block tall material this block is.
In game it may be referred to as either (top, bottom) or (upper, lower).
In game it may be referred to as either (top, bottom) or (upper, lower).
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The half of a vertically bisected block. -
Method Summary
Modifier and TypeMethodDescriptiongetHalf()
Gets the value of the 'half' property.void
setHalf
(Bisected.Half half) Sets the value of the 'half' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Method Details
-
getHalf
Gets the value of the 'half' property.- Returns:
- the 'half' value
-
setHalf
Sets the value of the 'half' property.- Parameters:
half
- the new 'half' value
-