mojira.dev
MCPE-175555

Recipe unlocking/dolimitedcrafting doesn't work with custom crafting tables

I have some blocks that have the "minecraft:crafting_table" component and then have some recipes that are locked behind certain items and tagged with the relevant crafting block, but they do not unlock. When I have turned off "recipe unlock" in the settings all the recipes show.

Linked issues

Attachments

Comments 6

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Could you please attach an example addon showcasing the issue?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

I have now attached a world with an example of the issue.

There is a block called "Example Crafter" which has just one recipe, to turn an iron ingot into 16 iron nuggets. I have set the recipe to be locked behind raw iron.

I have set the world option of recipe unlocking to true and also set the gamerule "dolimitedcrafting" to true.

This should mean that I cannot use the recipe until I unlock it by obtaining raw iron, yet when I have obtained raw iron the recipe does not unlock.

After some tests the problem is with the tag. Typing /recipe give doesn't show any recipe that has the custom crafting tag when recipe unlocking is true. Even if you use minecraft:item we already obtained.

[media]

The ticket should be reopened as the author brought a world example and the bug is still affecting us(minecraft:crafting_table is on stable, then it should work)

Could you please include the following steps to reproduce the problem?

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Steps to Reproduce:
1. Load the world with the pack I have sent

2. Place iron ingot into "Example Crafter"

3. Nothing shows

Observed Results:
After obtaining raw iron, new recipe didn't unlock. When placing an iron ingot into the Example crafter, no recipes show. I have to set recipeunlocks to false.

Expected Results:
Obtain raw iron, unlock custom recipe. Place iron ingot into Example Crafter and receive 16 iron nuggets.
If you need anything else, just let me know, but it is a simple bug to replicate tbh.

CyanSaber

(Unassigned)

1187410

Confirmed

Multiple

Windows 10

1.20.31 Hotfix, 1.20.60

1.20.80.23 Preview, 1.20.80

Retrieved