Saving Hotbar in a variable or procedure

Started by tryunt on Tue, 09/07/2021 - 02:33

Topic category: Help with modding (Java Edition)

Last seen on 05:33, 7. Sep 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Saving Hotbar in a variable or procedure
Tue, 09/07/2021 - 02:33

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

Any help would be fantastic

Last seen on 09:13, 19. Oct 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.