Repository navigation
Update the data pack to Minecraft 26.3 - #5
Merged
Merged
Conversation
The pack was written for 1.20. Its folders have had plural names that the game stopped reading in 1.21, so it has loaded without adding anything, and its files were in formats the game no longer accepts. Every advancement, recipe and tag is converted and keeps its name. On a Paper 26.3 server the pack loads with no errors and adds 431 advancements. Things that could not be carried over as they were are listed in the README: the raid advancements use the game's own test now that the voluntary exile trigger has gone, two checks on banner patterns and map markers are simpler, and references to sixteen wool recipes that never existed are gone because a missing recipe now stops the server. New tags: dyeable_glasses (named by sixteen recipes but missing), music_discs and chest_boats (the game removed what they stand for), and two damage type tags the advancements named. The recipe schema from schemastore predates plain-string ingredients, so recipes are checked for shape only, and a new check refuses the old folder names. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The pack was written for Minecraft 1.20 and has not worked since 1.21:
advancements,recipes,tags/items) that the game stopped reading. A 26.3 server enabled the pack but loaded exactly as many advancements as without it.What this does
Converts every advancement, recipe and tag to the 26.3 format (data pack format 121). File names are unchanged, so anything that refers to an advancement by name still works.
On a Paper 26.3 server the pack now loads with no errors. The advancement count goes from 1,866 to 2,297, which is the 431 the pack adds: 347 in its own tabs, 68 in the game's tabs and 16 recipe advancements.
What could not be carried over as it was
village/start_raidandvillage/dimension_raiduse the game's own test instead: killing a raider that wears the ominous banner.nether_structures/piglin_bannerno longer checks for the snout pattern.village/ominous_bannerstill checks the pattern, rewritten for how banners are saved now.exploration/buy_mapno longer checks the map's marker.bentobox:recipes the pack never had. Those references are removed, because a missing recipe now stops the server.New tags
bentobox:dyeable_glasseswas named by sixteen stained glass recipes but was missing, so those recipes cannot have worked before.bentobox:music_discsandbentobox:chest_boatsreplace things the game removed.bentobox:stalagmiteandbentobox:in_walldamage type tags, which two advancements named.Checks
min_formatandmax_format.Not tested
Nothing was tried in game with a player. Loading without errors shows the files are well formed, not that every advancement can be earned. The ones I would look at first are the raid advancements,
village/ominous_banner, the 22 tropical fish inocean/tropical_aquarist(now matched by pattern and colours),caving/mudkip(blue axolotl) andcombat/ready_to_fire(nine loaded crossbows in the hotbar), because their checks had to be rewritten rather than translated. Advancement backgrounds were also converted to the new texture names without being seen.The pack's own versions of 98 of the game's advancements are still the 1.20 ones, so they lack anything the game has added since, such as new biomes and mobs.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git