Is it possible to set gui item to a item using namespace name?

Started by SquidR42 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Nov 2022
Points:
329

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Is it possible to set gui item to a item using namespace name?
Mon, 11/14/2022 - 04:08 (edited)

Im making a machine that turns two items into a "infused" item, but im not entirely sure how to give the inventory the item without having to make a ton of if statements, so is there a way to give the inventory an item based off of the namespace? (ex. modname:infused_[itemname])

Edited by SquidR42 on Mon, 11/14/2022 - 04:08