Using Modded Items in Procedures (MCreator 1.20.1 Forge)

Started by Esjitu on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Using Modded Items in Procedures (MCreator 1.20.1 Forge)

I'm making a somewhat simple mod that just extends Farmer's Delight a bit for my own modpack. I'm able to make functional Feast-style blocks, which can be placed down and then prompt the user to use a bowl to scoop up an edible serving, just like in that mod, using my own items. However I'd like to also make some Feast blocks that give an item from other mods when you use a bowl, and I'm not really sure how to set that up. This is how my block procedure looks as an example, where it adds one item of my creation to the target's inventory when a bowl is used. 

What I want to be able to do is set that item to instead be an item from a different mod when you right click a bowl onto my block. Is there a way to do this with a placeholder or a tag or something? I had hoped I could just use a placeholder then open up the datapack after exporting the mod and change the item there (this is how I'm handling my recipes) but it seems like something I have to set inside the procedure no matter what. I'm not super experienced using MCreator for more than simple things so any help would be appreciated!