Expand description
Enums§
- Version
- A supported Minecraft version.
Statics§
Functions§
- entry_
nbt - Lazily parses a single entry’s NBT. Each call after the first returns a cached reference.
- registries
- Returns every registry shipped for
version. - registry
- Returns the raw
(entry_id, nbt_bytes)slice for(version, registry_id), orNoneif the registry is not shipped for this version. - registry_
index - Returns the index of
entry_idwithinregistry_idforversion, which is the numeric ID the client uses on the wire (e.g. in chunk biome palettes, dimension types in the Login packet). ReturnsNoneif the registry or entry isn’t shipped. - tagged_
registries - Returns every tagged registry shipped for
version. - tags
- Returns
[(tag_id, [entry_id, ...]), ...]for(version, registry_id). All#tagreferences are pre-resolved to direct entry IDs at build time.