Expand description
A module for common types.
Structs§
- Block
Pos - A block position.
- Block
State Id - A raw block state id. Using the registry this id can be derived into a block and it’s current properties.
- Bounding
Box - An integer axis-aligned bounding box for structure pieces.
- Chunk
Pos - A chunk position.
- Identifier
- An identifier used by Minecraft.
- Invalid
Packed Section Block Pos - Error returned when a raw section-relative block position uses reserved bits.
- Packed
Block Pos - A block position in Minecraft’s packed protocol
i64layout. - Packed
Chunk LocalXZ - A block’s X/Z position packed relative to its containing chunk.
- Packed
Chunk Pos - A chunk position in Steel’s packed
i64layout. - Packed
Section Block Pos - A block position packed relative to its containing 16x16x16 section.
- Packed
Section Pos - A section position in Minecraft’s packed
i64layout. - Section
Pos - A chunk section position (16x16x16 region).
- Todo
- A placeholder type for unimplemented component values.
Unlike
(), this is a distinct type that can have its own trait implementations. - Update
Flags - Flags that control how a block update is processed.
Enums§
- Difficulty
- World difficulty level.
- Game
Type - The game type.
- Interaction
Hand - Represents the hand used for an interaction.