Started by
lightcat22u1
on
Topic category: Help with Minecraft modding (Java Edition)
Hello. I wanna make a block, where you can cook food with species and on thought what species you have used in craft, there would be different effect on food.
I have this procedure for crafting: https://imgur.com/a/2nf6Kb8
Problem with item, that goes after procedure: it doesn't have custor tag on it. Can someone help me please
You are setting tag to a copy of your custom item.
Procedure block "get copy of item slot" returns a copy, not original stack.
You will need to get copy and save it to local variable, then set the tags to it and then assign this new copy of the stack back to the slot.