Skip to content

feat!: stop converting Anvil worlds - #337

Merged
oglassdev merged 3 commits into
feat/plugin-reworkfrom
feat/drop-world-conversion
Oct 6, 2026
Merged

oglassdev merged 3 commits into
feat/plugin-reworkfrom
feat/drop-world-conversion

Conversation

@oglassdev

Copy link
Copy Markdown
Contributor

Stacked on #336 (→ #335 → #334).

Summary

Chunk no longer converts Anvil saves into .polar worlds at build time. The converter added in #336 bridged upstream Minestom and multistom with reflection; rather than ship that, world conversion is removed until it can be designed properly. .polar worlds are unchanged.

  • SDK: WorldOptions is just { source }, a .polar file. The chunks cropping option is gone.
  • chunk-build: a world whose source isn't a .polar file fails with world <name> must be a .polar file; Chunk no longer converts Anvil saves, including when chunk inspect runs before the file exists. WorldFormat, chunk ranges and the converted-world build path are removed. chunk inspect worlds are now { "source": "<path>.polar" }.
  • chunk-cli: the asset plan's Anvil branch is removed.
  • Gradle plugin: the convertChunkWorld_* tasks and chunk inspect's Anvil parsing are removed, so the plugin no longer reads worlds at all.
  • jvm/world-converter: removed, along with docs and distribution entries.

Breaking changes

  • Point each world's source at a .polar file. Convert Anvil saves with your own tooling for now.

Validation

  • cargo test -p chunk-build project / assets, cargo test -p chunk-cli assets, cargo clippy -p chunk-build -p chunk-cli --all-targets
  • jvm/gradle-plugin tests
  • examples/{arena,local,load} testClasses; arena still packages its .polar worlds
  • SDK typecheck (tsc -p crates/chunk-build/sdk)
  • just fmt-check

🤖 Generated with Claude Code

Worlds must be .polar files; Chunk no longer converts Anvil saves at build time. Removes the world-converter module, the Gradle plugin's convert tasks, and the SDK's chunks cropping option.

BREAKING CHANGE: point each world's source at a .polar file.
@oglassdev
oglassdev added this pull request to stack #338 October 6, 2026 03:54
@oglassdev
oglassdev merged commit b1df764 into main Oct 6, 2026
12 of 13 checks passed
@oglassdev
oglassdev deleted the feat/drop-world-conversion branch October 12, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant