Coding Help

1 post / 0 new
Last seen: 2 years 6 months ago
Joined: 03/13/2015 - 22:11
Gems: 0
Coding Help

Hello everybody :)


So, I was making a mod with some aditions, and I wanted to make this Hunter mob, wich is basically a trader, wich spawns near a hunting tent, in florest biomes.

He'll have versions for tundra too and etc, but for now my problem is:


Is it possible that any of you knows how to open the villager's tradding GUI? And is it possible too, that any of you know how to change the item wich is used for payment (on villagers case, the emerald, I'll make a custom for the hunter).


I know that the GUI can't be created custom to open via event, but, there's a custom coding option, wich could open the vanilla's trade GUI. Anyone knows how to?