Posted August 28, 201411 yr 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!
August 28, 201411 yr Use NBT data, sort of like a chest but on your item. Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
August 28, 201411 yr Author 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!
August 28, 201411 yr 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 Currently updating my Mod to 1.10.2 https://bitbucket.org/hugo_the_dwarf/riseoftristram2016/src?at=master
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.