-
Bug
-
Resolution: Duplicate
-
None
-
1.21.1
-
None
-
Windows 11, Java 21.0.3
-
Unconfirmed
If I have a recipe that is identical to vanilla recipe, I won't be able to craft it by simply put the ingredients to the crafting table even I don't have the vanilla recipe which means no collision. I have to use the recipe book in order to craft it.
The custom recipe:
{ "type": "minecraft:crafting_shaped", "category": "equipment", "key": { "#": { "item": "minecraft:stick" }, "X": { "item": "minecraft:diamond" } }, "pattern": [ "X", "X", "#" ], "result": { "id": "minecraft:diamond_sword", "count": 1, "components": { "minecraft:enchantment_glint_override": true } } }
What I expected to happen was...:
I will be able to craft the item.
What actually happened was...:
I can't craft the item.
Steps to Reproduce:
- Put the following datapack to a new created world
- Run /function test:setup
- Run /function test:vanilla (Now you should have vanilla diamond sword recipe but no custom recipe)
- Try to craft a vanilla diamond sword, it works fine.
- Run /function test:custom (Now you should have custom recipe but no vanilla recipe)
- Try to craft a custom diamond sword, it can't be crafted unless you use the recipe book.
- duplicates
-
MC-160579 When doLimitedCrafting is enabled, recipe result won't always be found when it exists
- Open