public class DirectionalPowerable extends Directional implements Powerable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isPowered() |
static DirectionalPowerable |
of(BlockFace face,
boolean powered) |
String |
toString() |
getFace, ofpublic static DirectionalPowerable of(@Nonnull BlockFace face, boolean powered)
public int hashCode()
hashCode in class Directionalpublic boolean equals(Object o)
equals in class Directionalpublic String toString()
toString in class DirectionalCopyright © 2017–2019 NukkitX. All rights reserved.