Jump to content

[1.7.10] [SOLVED] Item with Inventory


BinaryCPG

Recommended Posts

Item with Inventory

 

I want to create an Item that contains 9 ItemStacks.

The Item shouldn't have an GUI.

These ItemStacks should get filled if the item was in an specific machine

with specific Items that did get put in into the machine.

If the Item gets sneaked+rightclicked the ItemStacks should drop

on the ground or get transferred into the players inventory rightclicking.

There also should be a craftable variant of the item that's empty.

 

I got the basic Item class structure already. Just don't know how to

store the ItemStacks properly.

 

Any ideas? Thx

 

The TileEntitys are Going to kill us all and take over the entire (Minecraft) world!

Link to comment
Share on other sites

The Problem is: a chest got an TileEntity storeing the data.

                        items don't seem to have something like that.

                        also: if i store the data in the MyItem.class the itemstacks

                        stored in there apply globally to all items created from

                        MyItem.class

The TileEntitys are Going to kill us all and take over the entire (Minecraft) world!

Link to comment
Share on other sites

I'm using this tutorial atm

http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571597-1-7-2-1-6-4-custom-inventories-in-items-and it's about making what you wish for. Don't think there is that big of a difference from 1.7.2 to .10

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.