Titanium

Titanium

50M Downloads

[1.16] Crash while creating a shapeless recipe where the first item is an Item Tag

IcedReaper opened this issue ยท 0 comments

commented

**Titanium Version: **
1.16.3-3.1.0

**Crashlog If Applicable (Upload to pastebin/gist): **
Crashlog: https://pastebin.com/9tM3m3J9
Code with working and crashing examples: https://pastebin.com/KdKt1yMm

Description of the Issue
Hi,
I'm having an issue creating a shapeless recipes where the first ingredient is an Item Tag.
Creating a shaped recipes with only ItemTags works fine, but when I try to create a shapeless recipes where the first Ingredient is an Item Tag I get the attached crash.
When I set the first Ingredient to an Item I can use the Item Tag that crashed before as a second ingredient for example.

In the attached examples I'm using 3 copper dust and one zinc dust (and once an iron ingot for testing purposes).
The first one crashes as I'm using an Item Tag as first Ingredient.
The second one works as I used an Item before any Item Tag.

You can see the complete code here: https://github.com/IcedReaper/IcedResources/blob/main/src/main/java/com/icedreaper/icedresources/gatherDataEvents/RecipeProvider.java

Am I doing something wrong or is this a bug?

On another note: Is there a way to remove/disable the creation of the achievement for the shapeless recipe?

Thanks in advance,
IcedReaper.