public class EmptyBlock extends Block
Constructor and Description |
---|
EmptyBlock(World w) |
Modifier and Type | Method and Description |
---|---|
Object |
getDefault()
Get default object which is abstracted by Negativity structure.
|
Location |
getLocation() |
Block |
getRelative(BlockFace blockFace) |
Material |
getType() |
int |
getX() |
int |
getY() |
int |
getZ() |
boolean |
isLiquid() |
boolean |
isWaterLogged() |
void |
setType(Material type) |
equals, getFriction, toString
public EmptyBlock(World w)
public Object getDefault()
NegativityObject
For example, when we use World
, beside there is the Spigot/Sponge... world.
We can get the default platform object, in the example, the platform world.
public Location getLocation()
getLocation
in class Block
public Block getRelative(BlockFace blockFace)
getRelative
in class Block
public boolean isWaterLogged()
isWaterLogged
in class Block