Topic category: Help with modding (Java Edition)
So I just followed a MCreator tutorial for giving my item a recipe. The recipe works, but now I have another goal: Making it so that when you receive an item (apple) in your inventory, you gain a recipe (apple pie) that you can make with said item. I tried googling it and found TheAllPowerfulBread's forum, but it kinda didn't help.
In the test, you don't gain the recipe knowledge after you have an apple in your inventory. HOWEVER!! If you craft the apple pie, you then gain the recipe. I want it to work like normal vanilla minecraft items.
Here is the, uhh, code ig (I have 0 coding experience (I did copy-paste and modify some roblox scripts tho (We also learned C++ coding in school (I learned nothing))))
It's the same result (italicized words) no matter how I change the 'apple' or 'global trigger' or after 'add recipe'. Hoping that one of you can figure out the problem, thanks <33