1

How do you make an Entity Hold an Item?(Solved)

Gegy's Avatar Gegy1/29/13 8:20 am
1 emeralds 521 9
2/5/2013 8:02 am
Gegy's Avatar Gegy
Hey there guys!
As you might have seen my latest mod. The STEVE mod you would be thinking why don't you make him hold a sword?
Well I'm trying to do that but I can't figure out how so if you know how to do it help would be appreciated.
Here's the link to the mod:http://www.planetminecraft.com/mod/steve-mod-steve-like-diamondsforge/
Posted by Gegy's Avatar
Gegy
Level 45 : Master Blob
404

Create an account or sign in to comment.

9

1
02/01/2013 4:48 pm
Level 66 : High Grandmaster Modder
duke_Frans
duke_Frans's Avatar
this.setCurrentItemOrArmor(3, new ItemStack(Item.plateChain));
1
02/05/2013 8:02 am
Level 45 : Master Blob
Gegy
Gegy's Avatar
Thanks for your help
1
02/01/2013 10:57 am
Level 1 : New Miner
cnbr15
cnbr15's Avatar
Skeletons, Zombies, and Zombie pigmen all have a code in their AI that dont require a GUI. The You are the creeper mod has a line of code you may want to check out (With the modders permission of course)
1
02/05/2013 8:02 am
Level 45 : Master Blob
Gegy
Gegy's Avatar
I figured it out. I was using that code but I didn't give it a specific model so it would not work.
1
02/01/2013 10:54 am
Level 66 : High Grandmaster Modder
duke_Frans
duke_Frans's Avatar
I used a line in the skeleton code, it should be in at the top, where all the AI is set.
Not sure as away from PC, but i think it is this.setCurrentArmour.ItemApple
1
02/01/2013 10:43 am
Level 45 : Master Blob
Gegy
Gegy's Avatar
1
01/29/2013 10:18 am
Level 45 : Master Blob
Gegy
Gegy's Avatar
Anyone???
1
01/29/2013 8:27 am
Level 15 : Journeyman Lava Rider
DerpyZ
DerpyZ's Avatar
So basically, you can spawn Steve's? THAT KILL THINGS?!?!?! That's awesome!
1
01/29/2013 8:47 am
Level 45 : Master Blob
Gegy
Gegy's Avatar
Thanks
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome