Crate azalea_world

Source
Expand description

The Minecraft world representation used in Azalea.

Re-exports§

Modules§

Structs§

  • A compact list of integers with the given number of bits per entry.
  • A world where the chunks are stored as weak pointers. This is used for shared worlds.
  • A container of Instances (aka worlds). Instances are stored as a Weak pointer here, so if no clients are using an instance it will be forgotten.
  • The name of the Instance (world) the entity is in. If two entities share the same world name, we assume they’re in the same instance.
  • An entity ID used by Minecraft. These are not guaranteed to be unique in shared worlds, that’s what Entity is for.
  • Keep track of certain metadatas that are only relevant for this partial world.
  • PartialInstances are usually owned by clients, and hold strong references to chunks and entities in Instances.

Enums§