Expand description
A module for common types.
Modules§
- codec_
glue 🔒 - gameplay 🔒
- identifier 🔒
- packed_
position 🔒 - position 🔒
Structs§
- Block
Pos - A block position.
- Block
PosWithin Manhattan - Iterator returned by
BlockPos::within_manhattan. - Block
State Id - A raw block state id. Using the registry this id can be derived into a block and it’s current properties.
- Chunk
Pos - A chunk position.
- Global
Pos - A position tied to a dimension key.
- 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).
- Spiral
Around - Iterator returned by
BlockPos::spiral_around. - 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.
- Traversal
Node Status - Result of processing a node during bfs