public class CloudBlock extends CloudBlockSnapshot implements Block
| Modifier and Type | Field and Description |
|---|---|
static BlockState[] |
EMPTY |
| Constructor and Description |
|---|
CloudBlock(Level level,
com.nukkitx.math.vector.Vector3i position,
BlockState[] states) |
| Modifier and Type | Method and Description |
|---|---|
Chunk |
getChunk() |
Level |
getLevel() |
com.nukkitx.math.vector.Vector3i |
getPosition() |
Block |
getRelative(int x,
int y,
int z) |
BlockState |
getRelativeState(int x,
int y,
int z,
int layer) |
Block |
getSide(Direction face,
int step) |
BlockState |
getSideState(Direction face,
int step,
int layer) |
boolean |
isWaterlogged() |
Block |
refresh() |
void |
set(BlockState state,
int layer,
boolean direct,
boolean update) |
BlockSnapshot |
snapshot() |
getStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdown, down, downState, downState, east, east, eastState, eastState, getRelative, getRelativeState, getRelativeState, getRelativeState, getRelativeState, getSide, getSideState, getSideState, getX, getY, getZ, north, north, northState, northState, set, set, set, setExtra, setExtra, setExtra, south, south, southState, southState, up, up, upState, upState, west, west, westState, westStategetExtra, getLiquid, getState, getStatepublic static BlockState[] EMPTY
public CloudBlock(Level level, com.nukkitx.math.vector.Vector3i position, BlockState[] states)
public com.nukkitx.math.vector.Vector3i getPosition()
getPosition in interface Blockpublic BlockState getRelativeState(int x, int y, int z, int layer)
getRelativeState in interface Blockpublic BlockState getSideState(Direction face, int step, int layer)
getSideState in interface Blockpublic Block getRelative(int x, int y, int z)
getRelative in interface Blockpublic boolean isWaterlogged()
isWaterlogged in interface Blockpublic void set(BlockState state, int layer, boolean direct, boolean update)
public BlockSnapshot snapshot()
Copyright © 2020. All rights reserved.