Expand description
Core types and handles.
Modules§
- entity_
flags - What kind of entity something is, as a bit set (
EntityInfo::flags).
Structs§
- Block
Area - The blocks between
minandmax(what isn’t loaded reads as bedrock): a palette and an index into it per block, x fastest, then z, then y. - Block
Hit - A block a ray stopped at.
- Block
Info - A block’s properties (
block::Info). - Block
Kind - One kind of block in a
BlockArea: how it is to walk through. - Block
Pos - A block position in the world.
- Block
PosView BlockPosviewed in a frame: strings borrowed, packed numbers read in place.- Entity
Info - A loaded entity (
entity::Info). - Local
State - This client’s player: where it is and looks, how it moves and fares.
- Nearby
Entity - An entity near this client’s player.
- Placed
Block - A block found in the world: where, and its state.
- Player
Info - An online player’s state (
player::Info). - Point
- A point in a world (blocks, fractional).
- Point
View Pointviewed in a frame: strings borrowed, packed numbers read in place.- Rotation
- Which way an entity faces, in degrees.
- Screen
Slot - A slot of an open inventory screen: what it holds, where it’s drawn (GUI pixels from the screen’s corner).
- Slot
Stack - A stack in an inventory slot.
- Stack
- A stack of items: what it is, how many, its data (SNBT).
Enums§
- Click
Mode - How a container slot is clicked: the game’s own modes (
ClickType). - Face
- The six block faces, in Minecraft’s
Directionorder, named asyog_ids::directionnames them (a test holds them to it).
Functions§
- join_
state - A block state from its id and properties:
split_state’s inverse. - split_
state - A block state (
"ns:id[k=v,...]") as its id and its properties.