Expand description
Structs§
- Block
Pos - The coordinates of a block in the world. For entities (if the coordinate
have decimals), use
Vec3
instead. - Chunk
Block Pos - The coordinates of a block inside a chunk.
- Chunk
Pos - Chunk coordinates are used to represent where a chunk is in the world. You can convert the x and z to block coordinates by multiplying them by 16.
- Chunk
Section Block Pos - The coordinates of a block inside a chunk section. Each coordinate must be in the range [0, 15].
- Chunk
Section Pos - The coordinates of a chunk section in the world.
- Global
Pos - A block pos with an attached world
- Vec3
- Used to represent an exact position in the world where an entity could be.
- Vec3i
- Similar to
BlockPos
but it’s serialized as 3 varints instead of one 64-bit integer, so it can represent a bigger range of numbers.