Package org.bukkit.block.data.type
Interface Wall
- All Superinterfaces:
BlockData
,Cloneable
,Waterlogged
This class encompasses the 'north', 'east', 'south', 'west', height flags
which are used to set the height of a wall.
'up' denotes whether the well has a center post.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The different heights a face of a wall may have. -
Method Summary
Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
Methods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
isUp
boolean isUp()Gets the value of the 'up' property.- Returns:
- the 'up' value
-
setUp
void setUp(boolean up) Sets the value of the 'up' property.- Parameters:
up
- the new 'up' value
-
getHeight
Gets the height of the specified face.- Parameters:
face
- to check- Returns:
- if face is enabled
-
setHeight
Set the height of the specified face.- Parameters:
face
- to setheight
- the height
-