Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

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.

  • Author

i know that i just asked for proper tutorial for that

Proud mod developer of:

 

Mob Armor mod

Block monster mod

Clay Living Dolls mod

Much More Spiders mod

Elemental cows reborn

Mr gorilla mod

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?

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.