Entity/Mob with custom GUI

Started by youdrake on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity/Mob with custom GUI

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

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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..

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"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.