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

Started by KinderCrowd602xD on Sat, 02/27/2021 - 17:47

Topic category: Help with modding (Java Edition)

Last seen on 19:44, 22. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How I Can Make Item That Opens GUI And Spawn Random Item In?
Sat, 02/27/2021 - 17:47

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! 

Last seen on 21:47, 1. Jan 2022
Joined Jan 2021
Points:

User statistics:

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