public class Lever extends SimpleDirectional implements Powerable
| Modifier and Type | Class and Description |
|---|---|
static class |
Lever.LeverPos |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static Lever |
of(SimpleDirection directional,
Lever.LeverPos position,
boolean powered) |
String |
toString() |
getDirection, ofpublic static Lever of(SimpleDirection directional, Lever.LeverPos position, boolean powered)
public boolean equals(Object o)
equals in class SimpleDirectionalpublic int hashCode()
hashCode in class SimpleDirectionalpublic String toString()
toString in class SimpleDirectionalCopyright © 2017–2018 NukkitX. All rights reserved.