Containers (v0.2)

Player and world block containers: operations, sync behavior, and events.

In this section

Related section pages:

Container handles

WorldHandle.Container(pos) and WorldHandle.ContainerAt(pos, size) return a block container handle. OpenFor, Resync, Set, Give, Clear, Move, and Swap route through server-owned inventory services.

  • Container mutations mark open sessions as dirty and trigger packet refresh when needed.
  • OpenFor publishes server.container.open.
  • The v0.2 baseline uses standard container metadata: ContainerID: Container, ContainerType: 0.
  • Custom container windows and generic transactional rollback remain outside the stable v0.2 surface.