public class Piston extends Directional
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static Piston |
of(BlockFace face,
boolean extended) |
static Piston |
of(boolean extended) |
String |
toString() |
getFace, ofpublic static Piston of(boolean extended)
public int hashCode()
hashCode in class Directionalpublic boolean equals(Object o)
equals in class Directionalpublic String toString()
toString in class DirectionalCopyright © 2017–2018 NukkitX. All rights reserved.