raffel080108/AltarCrafting

Issue with custom-model-data in ingredient parameters

Opened this issue · 4 comments

          Hello! Just wanted to thank you for the implementation and I wanted to clarify something too: Theres some issue while trying to add the custom-model-data nbt parameter to ingredientes, but it seems to work flawlessly with the result item. Not sure if i'm doing something wrong, tho. Take a look! 

image

Originally posted by @omgitsKit in #3 (comment)

@omgitsKit could you please describe what exactly the issue is, I cannot see an issue in this screenshot directly

the issue is: the custom model data parameter works with the result, but apparently isn't working with ingredientes. Having a "Paper" with "custom-model-data: 50" as ingredient isn't working, but having a "Paper" with "custom-model-data: 50" as result is.

Hello, could you please tell me what exactly isn't working with the ingredients?
To make sure I didn't overlook something in my past testing, I have just downloaded the latest jar from spigot and fired up a test server and it seems to work perfectly fine for me.
The recipe will not work if the item has missing or incorrect custom-model-data and it will work if the item has the correct custom-model-data.

Could you please also tell me which plugin version (e.g. 1.3.4) and which server-software and version you are using (e.g. Paper 1.20.2)

Hey there! I've been trying some stuff out and it seems like the problem is this: I'm using two nbt parameters, custom-model-data and name. I've got a custom item (material: paper) called "&fAcônito" with a custom-model-data of 4800072, just like in the picture below. But when I set the recipe ingredient to be paper with a custom-model-data of 4800072 and the custom name "&fAcônito", the plugin thinks it's an invalid recipe, even though the ingredient meets all the criteria (material, name, and custom-model-data).

In my testings the plugin doens't have any issue when the recipe needs a paper with a custom-model-data but doesn't need to check for a "name" parameter.

I'm using AltarCraft 1.3.4 for purpur 1.19.4.
image
image
image