transformation code and Trade GUI - Please read if you know how

1 post / 0 new
Last seen: 4 months 3 days ago
Joined: 08/15/2015 - 19:33
Gems: 0
transformation code and Trade GUI - Please read if you know how

I have this idea for a mod that involves a potion that allows you to turn mobs - both passive and hostile - into humans, befriend them, and make them travel companions. But I am not experienced with the game coding industry and do not know how to use the transformation code (like the one used for the pig to become a zombie pigman, or villager to become a witch, when struck by lightning. Or a Villager becoming a Villager Zombie - by chance, depending on difficulty - if killed by a zombie) and assign the mobs their own human form with varying genders (And turn a villager zombie into a normal villager because villagers are basically people). I planned for my pet slime Goopy's human fom be a girl (In fact, I'm thinking of a tamable mob based on her). I just want to figure out the code to change mobs into human companions. My appreciation to anyone who is able to help out a fellow modder.

I also would like to find out how to set up a trade GUI for my Villager buddy, Dr. Anvil (like how DanTDM's villager buddy is Dr. Trayarus) and those companions. That would be great too. (I'm sure plenty of people asked for trade gui advice anyway).

Edited by: GuardiaCraft on 08/31/2015 - 18:36