Skip to content

Commit b8e702e

Browse files
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 passing
1 parent 861e292 commit b8e702e

22 files changed

Lines changed: 5140 additions & 1 deletion

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,17 @@ keywords = ["minecraft", "oxidized-mc"]
1212
categories = ["game-development"]
1313

1414
[dependencies]
15+
thiserror = "2"
16+
bitflags = "2"
17+
18+
[build-dependencies]
19+
serde_json = { version = "1", features = ["preserve_order"] }
20+
serde = { version = "1", features = ["derive"] }
21+
flate2 = "1"
1522

1623
[dev-dependencies]
1724
proptest = "1"
25+
insta = "1"
1826

1927
[lints.rust]
2028
missing_docs = "warn"

0 commit comments

Comments
 (0)