Skip to main content

Crate yog_core

Crate yog_core 

Source
Expand description

Core Yog types and handles shared across all API modules.

Kept tiny and dependency-free: every other yog-* crate builds on this, and the facade [yog-api] re-exports it.

Modules§

entity_flags
What kind of entity something is, as a bit set (EntityInfo::flags).

Structs§

BlockHit
A block a ray stopped at.
BlockInfo
A block’s properties, as Server::block_info sees them.
BlockPos
A block position in the world.
EntityInfo
A loaded entity, as Server::entity_info sees it.
PlayerInfo
An online player’s state, as Server::player_info sees it.

Enums§

Face
The six block faces, in Minecraft’s Direction order.

Traits§

Server
Low-level capabilities the Yog runtime exposes to mods (the engine contract).