Expand description
Core types and handles.
Modules§
- entity_
flags - What kind of entity something is, as a bit set (
EntityInfo::flags).
Structs§
- Block
Hit - A block a ray stopped at.
- Block
Info - A block’s properties, as
Server::block_infosees them. - Block
Pos - A block position in the world.
- Entity
Info - A loaded entity, as
Server::entity_infosees it. - Null
Server - A
Serverthat does nothing: every query comes back empty, every action reports failure. Enough to run mod logic that only needs a handle (yog benchbenchmarks, unit tests).game_diris where the mod’s storage goes — point it at a scratch directory. - Player
Info - An online player’s state, as
Server::player_infosees it.
Enums§
- Face
- The six block faces, in Minecraft’s
Directionorder.
Traits§
- Server
- Low-level capabilities the Yog runtime exposes to mods (the engine contract).
Functions§
- split_
state - A block state (
"ns:id[k=v,...]") as its id and its properties.