I have a data pack I’ve written that supports multiple versions through overlays. It changes recipes of vanilla Minecraft as well as modded recipes in their respective namespace. From 1.20 - 26.2, having data for items that didn’t exist spammed the output log but the data pack otherwise worked. Those recipes just didn’t do anything. Loading the same data pack in 26.3 makes the game refuse to update the data, saying “Reload failed; keeping old data” in the chat. This is a behavioral regression compared to 26.2. Adding mod support directly in data packs is impossible if it isn’t just ignored if the item doesn’t exist. Nothing that I could find in the changelog for 26.3 suggests this is an intended change.
Attached is the snippet of the output log after trying to enable a data pack that calls for a missing item, and the message shown when trying to play the world with the data pack loaded.
To reproduce:
Create a small data pack with a single recipe, calling for an item that doesn’t exist, such as minecraft:qwerty.
Load the data pack in 26.2. The output log will say it can’t parse the recipe, but the data pack list will still update.
Load the data pack in 26.3. The output log will say it can’t parse the recipe, and the entire reload will fail. If added to the world before starting the game, Minecraft will say, “Errors in the currently selected data packs prevented the world from loading. You can either try to load it with only the vanilla data pack (“Safe Mode”), or go back to the title screen and fix it manually.”
Comments 0
No comments.