Saving Hotbar in a variable or procedure

Started by tryunt on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Saving Hotbar in a variable or procedure

Hi there, I need help with saving a hotbar in a procedure for my superhero mod!

Any help would be fantastic

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you mean exactly? If…
Tue, 09/07/2021 - 04:53

What do you mean exactly? If you want to store all the items in something, then you can make a bunch of variablea, and it stores the namespace ID (namespace ID is the name of the mob with _ and all lowercase, eg. minecraft:pig, minecraft:ender_dragon) of each item/block in your hotbar.