Entity/Mob with custom GUI

Started by youdrake on Sun, 07/21/2019 - 05:31

Topic category: Help with MCreator modding

Last seen on 02:13, 24. Jul 2019
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Entity/Mob with custom GUI
Sun, 07/21/2019 - 05:31

Hey there, I am looking to create a mob that when right-clicked would present me with a GUI, I would preferably want this to be a custom GUI I make in Mcreator but if I have to I will gladly just have it open a GUI like the chest-horse one (so just a storage GUI)

 

My mob would be picking up items and storing them in the GUI, and then the player would right-click the mob to take the items the mob has picked up..

Ideally, it would open up a custom GUI so the player could trade certain items for custom items as well as just take the picked up items since they are supposed to be like villagers that also go around collecting items for you, but obviously, they aren't literally that, but similar..

 

Any help would be appreciated :D

Last seen on 07:55, 31. Aug 2019
Joined Mar 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
If you're using older…
Sun, 07/21/2019 - 08:33

If you're using older MCreator versions, make a GUI, add a mob, and add an event to "If mob right-clicked".

If you're using a new version like 1.8.3 or 1.9.0, make a GUI, add a mob, create a procedure and find in GUI procedures something that could open a GUI when someone right-clicked that mob.

Last seen on 02:13, 24. Jul 2019
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I've already tried to look…
Sun, 07/21/2019 - 08:41

I've already tried to look at the procedures and I can't find anything to open a gui..

Last seen on 14:02, 22. Sep 2019
Joined Nov 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
"Open GUI: Your GUI" You…
Tue, 07/30/2019 - 17:56

"Open GUI: Your GUI"

You must create a GUI first.

Then select that GUI.