Skip to main content

Module world

Module world 

Source
Expand description

World access: block states, collision, block entities, chunk storage. World access: block states, collision, block entities, chunk storage.

This module is the plugin-facing entry point for all world-related types. Block constants, block entity types, collision math, and the WorldHandle trait live here. The runtime World struct, chunk storage, and persistence live in basalt-world (which depends on this crate for the shared types).

Modules§

block
Block state IDs for common Minecraft 1.21.4 blocks.
block_entity
Block entities — persistent per-block state.
collision
Collision utilities for physics simulation.
handle
Long-lived handle to the world runtime.