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, toStringpublic Location getLocation()
getLocation in class Blockpublic Block getRelative(BlockFace blockFace)
getRelative in class Blockpublic boolean isWaterLogged()
isWaterLogged in class Blockpublic 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.