mojira.dev
MC-135829

datapacks sometimes fail to replace vanilla recipes

when trying to replace a vanilla recipe (like crafting 4 woods with 4 logs instead of 3 woods) sometimes the recipe is still the vanilla one, even with "replace: true" in the recipe file (don't know if this even do something)

 

this seem to happen at random, I can't even have the same recipes working on my local world and on a server I own with exactly the same files, and sometimes when reloading when changing a file, some recipes not affected by this file are working or aren't working anymore despite them working just before reload

There isn't any error nor warning in the logs saying that a recipe failed to load

 

Attachments

Comments

tryashtar

The vanilla bark recipe is named minecraft:acacia_wood (data/minecraft/recipes/acacia_wood.json), but your recipe is named expanded_crafts:wood/acacia_wood (data/expanded_crafts/recipes/wood/acacia_wood.json).

To replace any content, you must give the new file the same name as the old one.

migrated

So why some of these are working then?

migrated

And have you even tested before marking this as invalid? it won't work either even with the recipes  in the folder "Minecraft"

migrated

(Unassigned)

Unconfirmed

Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1

Retrieved