Jump to content

second question


Soulas97

Recommended Posts

how to create and add custom inventory to entity that i would pickup every items, that it finds automaticly like player, and would have like 9 slots

 

and would drop all that it has in inventory when dies

Proud mod developer of:

 

Mob Armor mod

Block monster mod

Clay Living Dolls mod

Much More Spiders mod

Elemental cows reborn

Mr gorilla mod

Link to comment
Share on other sites

Your question smacks of the open-ended type of question like, "I don't have any idea how to write a mod or get started, so take my requirements and make me a mod that does it."

Reminder:

We don't write mod code for you here. Find a tutorial and try and find a similar thing in Minecraft code.

Link to comment
Share on other sites

http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571597-1-7-2-1-6-4-custom-inventories-in-items-and

 

May not be for "other entities" however it shows you how you would add an "inventory" I would then also suggest looking at zombies in vanilla minecraft but I ran through it and didn't find any idea how they hold armor and can pick up 1 item (shovel, sword, dropped item)

 

So i'm not sure where can find a tutorial for non player entities having inventories and dropping them on death. But I know the posted one works for custom player inventories and hopefully you can get something out of that to get an understanding and maybe you can then play around with it?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.