- All Superinterfaces:
BlockSnapshot
-
Method Summary
Modifier and TypeMethodDescriptiondefault Blockdown()default Blockdown(int step) default BlockStatedefault BlockStatedownState(int step) default Blockeast()default Blockeast(int step) default BlockStatedefault BlockStateeastState(int step) getChunk()getLevel()com.nukkitx.math.vector.Vector3igetRelative(int x, int y, int z) default BlockgetRelative(com.nukkitx.math.vector.Vector3i pos) default BlockStategetRelativeState(int x, int y, int z) getRelativeState(int x, int y, int z, int layer) default BlockStategetRelativeState(com.nukkitx.math.vector.Vector3i pos) default BlockStategetRelativeState(com.nukkitx.math.vector.Vector3i pos, int layer) default BlockStategetRelativeState(com.nukkitx.math.vector.Vector4i pos) default Blockdefault BlockStategetSideState(Direction face) default BlockStategetSideState(Direction face, int step) getSideState(Direction face, int step, int layer) default intgetX()default intgetY()default intgetZ()booleandefault Blocknorth()default Blocknorth(int step) default BlockStatedefault BlockStatenorthState(int step) refresh()default voidset(BlockState state) default voidset(BlockState state, boolean direct) default voidset(BlockState state, boolean direct, boolean update) voidset(BlockState state, int layer, boolean direct, boolean update) default voidsetExtra(BlockState state) default voidsetExtra(BlockState state, boolean direct) default voidsetExtra(BlockState state, boolean direct, boolean update) snapshot()default Blocksouth()default Blocksouth(int step) default BlockStatedefault BlockStatesouthState(int step) default Blockup()default Blockup(int step) default BlockStateupState()default BlockStateupState(int step) default Blockwest()default Blockwest(int step) default BlockStatedefault BlockStatewestState(int step) Methods inherited from interface org.cloudburstmc.api.block.BlockSnapshot
getExtra, getLiquid, getLiquidLayer, getState, getState
-
Method Details
-
snapshot
BlockSnapshot snapshot() -
refresh
Block refresh() -
getLevel
Level getLevel() -
getChunk
Chunk getChunk() -
getPosition
com.nukkitx.math.vector.Vector3i getPosition() -
getX
default int getX() -
getY
default int getY() -
getZ
default int getZ() -
up
-
up
-
down
-
down
-
north
-
north
-
east
-
east
-
south
-
south
-
west
-
west
-
getSide
-
upState
-
upState
-
downState
-
downState
-
northState
-
northState
-
eastState
-
eastState
-
southState
-
southState
-
westState
-
westState
-
getSideState
-
getSide
-
getSideState
-
getSideState
-
getRelative
-
getRelative
-
getRelativeState
-
getRelativeState
-
getRelativeState
-
getRelativeState
-
getRelativeState
-
isWaterlogged
boolean isWaterlogged() -
set
-
set
-
set
-
setExtra
-
setExtra
-
setExtra
-
set
-