Help with custom item tags and block entity

Started by lightcat22u1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with custom item tags and block entity

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…
Sun, 11/09/2025 - 16:16

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.