Worlds and blocks
Dimensions, block states, weather, height maps and chunk tickets.
| Type | Kind | Description |
|---|---|---|
BlockFace |
enum | A block face / direction (vanilla Direction order). |
BlockState |
struct | A block state: a block plus its properties, as the numeric id of the global palette. |
BlockUpdateFlags |
enum | How a block change is propagated, the update flags of the game’s Level.setBlock (combine with |). |
ChunkTicket |
class | A hold on a chunk: while the ticket exists the chunk is kept loaded (and ticking when a player is near enough, like any chunk). |
ChunkTickets |
class | Chunk tickets of one plugin (plugin.ChunkTickets): they are released automatically when the plugin unloads or reloads. |
Facing |
enum | Values of the protocol enum Facing (the wire carries the ordinal). |
HeightMap |
enum | Which surface World.HighestBlockY looks for. |
WeatherType |
enum | The weather of a dimension. |
World |
struct | A handle to a dimension (overworld, nether, end …). |