Repository navigation
packmigrate v0.5.0
New features
-
26.3 item model component codegen (
--codegen-components,--component-manifest): synthesizes directminecraft:item_modeldefinitions for the 1.21.4..26.3 era, extracts exactcustom_model_datafloats/flags/strings andhas_componentconstraints from every migrated dispatch tree, renders ready-to-run 26.3/givecommands, and writes a machine-readable component manifest. -
Legacy predicate tree simplifier (
--simplify-trees): four algebraic passes that preserve dispatch semantics while reducing tree size: path-sensitive Shannon cofactor folding on repeatedCondition/Selectpredicates; numeric interval narrowing across nestedRangeDispatchnodes on the same property; step-knot coalescing on adjacent identical entries; and nestedCompositeflattening (rule PM019). -
Dual-era asset bundle export (
--bundle-export): produces a deterministic 3-slice bundle for proxy networks (Velocity / BungeeCord / ViaVersion): legacy1.20.1..1.21.3, modern1.21.4..26.3, and a hybrid universal .zip with SHA-1 and SHA-256 digests plus a machine-readablebundle-manifest.jsonfor server-side dispatch (rule PM020).
Bug fixes
- ComponentOverrideCompiler: entries with an unknown tint codec (PM018) now skip tree insertion, preventing malformed nodes from being compiled into the output decision tree.
Tests
- 48/48 JUnit 5 unit tests pass (was 42/42 in v0.4.0; +6 new tests covering PM015/PM017/PM018/PM019 semantics).
Artifact SHA-256
03b7d8be323ddf3a51a33c3a493880859769227bcd7dc747d7cd4d0b4161f7f4 packmigrate.jar