Topic category: Help with Minecraft modding (Java Edition)
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
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.
I've already tried to look at the procedures and I can't find anything to open a gui..
"Open GUI: Your GUI"
You must create a GUI first.
Then select that GUI.