Expand description
World-level entity ownership and lookup.
Steel deliberately uses a simpler loaded/simulated split than vanillaβs entity section manager. The manager owns runtime entity lookup regardless of chunk load state; chunks are still the persistence boundary, and only full simulated chunks tick entities.
ModulesΒ§
- benchmark_
support - Fixtures for benchmarking the world entity manager without a live world.
- entries π
- Slot storage for entity entries, so queries index a
Vecinstead of hashing each candidate. - spatial_
query π - Ordered query hits gathered from already sorted spatial cells.
StructsΒ§
- Chunk
Entity Load Result - Entity changes produced when a chunk becomes loaded.
- Chunk
Entity Unload Start - Entity changes produced when a chunk starts unloading.
- Entity
Entry π - Entity
Lifecycle Changes - Entity lifecycle changes caused by manager membership or visibility updates.
- Entity
Move Update - Section/chunk membership update caused by a committed entity move.
- Entity
Query πOrder - Entity
Spatial πCell - Entity
Spatial πCell Bounds - Entity
Tick πList - Indexed
Ordered πEntity Ids - Append-ordered IDs with indexed unlinking for large lifecycle lists.
- Indexed
Ordered πEntity IdsIter - Manager
State π - Ordered
Entity πIdNode - Ordered
Entity πIds - Retained
Spatial πCells - Bounds an index update can leave in place when an entityβs old and new cells overlap.
- Spatial
Cell πEntities - Tick
Context π - Pre-tick manager state resolved under one state lock.
- Unsaved
Entity Report - Saveable entity that could not be persisted by a chunk save pass.
- World
Entity Manager - Central world entity manager.
EnumsΒ§
- AddEntity
Error - Error returned when adding an entity to the runtime world fails.
- Entity
Collision πCandidates - Candidate set used by vanilla movementβs entity-shape collision query.
- Entity
Move Error - Error returned when a live entity move cannot be committed.
- Entity
Ownership - Whether the manager owns persistence for an entity.
- Entity
Visibility - Entity visibility for a chunk column.