public abstract class Block extends Object implements NegativityObject
Constructor and Description |
---|
Block() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
float |
getFriction() |
abstract Location |
getLocation() |
abstract Block |
getRelative(BlockFace blockFace) |
abstract Material |
getType() |
abstract int |
getX() |
abstract int |
getY() |
abstract int |
getZ() |
abstract boolean |
isLiquid() |
abstract boolean |
isWaterLogged() |
abstract void |
setType(Material type) |
String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDefault
public abstract Location getLocation()
public abstract Material getType()
public abstract int getX()
public abstract int getY()
public abstract int getZ()
public abstract boolean isLiquid()
public abstract void setType(Material type)
public abstract boolean isWaterLogged()
public float getFriction()