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