How I Can Make Item That Opens GUI And Spawn Random Item In?

Started by KinderCrowd602xD on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How I Can Make Item That Opens GUI And Spawn Random Item In?

Hello Guys!

How i can make an item that opens gui with one slot and in this slot to spawn random item like (weapons, etc.) i tried but didn't work i used a procedure from one other post but i tried alot of times didn't work but i need to do this because it's important to my mod i want to add all CS:GO knifes with all skins alot of work but i want you can get them from a case so when you right click on the case it opens gui and there is an item random and also then i want case to disappear but im bad at procedures so if you can help me THANK YOU! 

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There should be a "Place …
Sat, 02/27/2021 - 18:06

There should be a "Place ... in slot (number)" block in GUI menu in procedures -- Not sure though

By the way, I suggest seperate sentences (or at least divide in the whole text into a few sections) for more readability