Skip to content
ZERNYTH.

API reference / dev.zernyth.api.world

Block

public interface Block

Members

  • BlockPosition getPosition()
  • Dimension getDimension()
  • BlockData getData()
  • default String getType()
  • void setData(BlockData data, boolean applyPhysics)
  • default void setType(String type)
  • Optional<Block> getRelative(int dx, int dy, int dz)
  • BlockState captureState()