Coding Help

Started by EduOda on Fri, 03/13/2015 - 21:20
Last seen on 02:43, 17. Mar 2015
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Coding Help
Fri, 03/13/2015 - 21:20

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?

 

 

Thanks!