public interface Wall extends Waterlogged
Modifier and Type | Interface and Description |
---|---|
static class |
Wall.Height
The different heights a face of a wall may have.
|
Modifier and Type | Method and Description |
---|---|
Wall.Height |
getHeight(BlockFace face)
Gets the height of the specified face.
|
boolean |
isUp()
Gets the value of the 'up' property.
|
void |
setHeight(BlockFace face,
Wall.Height height)
Set the height of the specified face.
|
void |
setUp(boolean up)
Sets the value of the 'up' property.
|
isWaterlogged, setWaterlogged
clone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
boolean isUp()
void setUp(boolean up)
up
- the new 'up' value@NotNull Wall.Height getHeight(@NotNull BlockFace face)
face
- to checkvoid setHeight(@NotNull BlockFace face, @NotNull Wall.Height height)
face
- to setheight
- the heightCopyright © 2021. All rights reserved.