Commit b8e702e
committed
feat(registry): extract block, item, and biome registries from oxidized-world
Move the complete registry subsystem into a standalone crate:
- Block registry with O(1) state ID lookup (29,872 states)
- Item registry with bidirectional name/ID mapping (1,506 items)
- Biome registry with 65 vanilla biomes
- Block tags with O(log n) membership testing
- Build-time code generation from embedded vanilla JSON data
- All 97 unit tests + 5 doc-tests passing1 parent 861e292 commit b8e702e
22 files changed
Lines changed: 5140 additions & 1 deletion
File tree
- src
- data
- tags/block
- snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
| 25 | + | |
18 | 26 | | |
19 | 27 | | |
20 | 28 | | |
| |||
0 commit comments