public class CompensatedBlock extends Block
Constructor and Description |
---|
CompensatedBlock(Location loc,
Material type) |
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 Location getLocation()
getLocation
in class Block
public Block getRelative(BlockFace blockFace)
getRelative
in class Block
public boolean isWaterLogged()
isWaterLogged
in class Block
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.