BlockData
, Cloneable
, Directional
, Powerable
public interface Switch extends Directional, Powerable
Directional
to compute the
orientation of these blocks.Modifier and Type | Interface | Description |
---|---|---|
static class |
Switch.Face |
The face to which a switch type block is stuck.
|
Modifier and Type | Method | Description |
---|---|---|
Switch.Face |
getFace() |
Gets the value of the 'face' property.
|
void |
setFace(Switch.Face face) |
Sets the value of the 'face' property.
|
clone, getAsString, getAsString, getMaterial, matches, merge
getFaces, getFacing, setFacing
isPowered, setPowered
@NotNull Switch.Face getFace()
void setFace(@NotNull Switch.Face face)
face
- the new 'face' valueCopyright © 2019. All rights reserved.