Attempting to use item tags as a recipe input will result in the recipe appearing in the book, but the recipe will be extremely buggy when attempting to craft it. If the player has the item set as a tag and has everything else, they will simply not be able to craft the recipe, but if the player does not possess the item but does have everything else, it will crash the server and yield the following to the console:
[media]Steps to Reproduce:
1. Turn on your server
2. Join your server
3. Craft the custom recipe that utilizes an item tag
4. Crash
Observed Results:
You are not able to left click to craft the item, and shift-clicking places the item in your inventory and crashes the server
Expected Results:
You are able to craft the recipe with no issues; the server does not crash.
This is not an issue in normal Minecraft worlds that are ran with this Add-on applied; you are able to craft the items as normal with no problems.
Recipe File:
{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "lzrd:superstar_boots"
},
"tags": [ "crafting_table" ],
"pattern": [
"X#X",
"X X"
],
"key": {
"X": {
"item": "minecraft:wool",
"data": 12
},
"#": {
"tag": "lzrd:elemental_shard" //The "Water Shard" item has this tag in it's file
}
},
"result": {
"item": "lzrd:superstar_boots"
}
}
}
Further visual proof in Attachments.
Attachments
Comments 4
Updated this one as instructed. More details have been added, let me know if I missed anything else.
Hi
Can you please attach resource pack file used to reproduce this issue?
This ticket will automatically reopen when you reply.
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response
Can you please provide more details how to reproduce this issue? Does it occur on local worlds?
Also, just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem:
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.