Skip to content

fix(crafter): write min_format and max_format instead of a fixed pack_format - #73

Open
Stoupy51 wants to merge 1 commit into
Smithed-MC:mainfrom
Stoupy51:fix/crafter-pack-formats
Open

Stoupy51 wants to merge 1 commit into
Smithed-MC:mainfrom
Stoupy51:fix/crafter-pack-formats

Conversation

@Stoupy51

@Stoupy51 Stoupy51 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Smithed Crafter's data pack declares pack_format: 101 and its resource pack pack_format: 84. Both are above 81, so recent Minecraft versions refuse them: Pack declares support for version newer than 81, but is missing mandatory fields min_format and max_format (thrown when listing packs, e.g. /datapack list). They still load but make warnings in console and I don't like it.

image

Removing the two overrides lets beet derive the fields from minecraft: "26.3", as every other library of this repository already does.

Built before and after with beet 0.122.0:

  • before: pack_format: 101 (data) and 84 (assets), no min_format or max_format
  • after: min_format and max_format are [121, 0] (data) and [97, 1] (assets), the same values the actionbar library gets

… fixed pack_format

pack_format 101 and 84 are above 81, so the game rejects the packs with 'missing mandatory fields min_format and max_format'. Without the override, beet derives both fields from the project's minecraft version, like every other library.
@Stoupy51

Copy link
Copy Markdown
Contributor Author

Using beet.contrib.livereload just spams the console then because of the /datapack list command

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