ashenk69 wrote:This is a cool wrench that is unlike any other. Instead of having to tediously move items from multiple inventories to move a chest to a new spot, you can now use the wrench to pickup the chest and then place it where you want. The items will automatically be added from the original chest.
Depends: default
License: WTFPL
github
Craft
O = iron ingot
[O][ ][O]
[ ][O][ ]
[ ][O][ ]
This is something that I hope would get merged into the Technic mod because it has a lot of potential to be useful within that modpack. It works with chest, furnaces, and active furnaces. The fuel amount is not stored but all items in each list are perserved.
Interested in how it works?
It first converts inventories into strings. This string is then saved to the itemstack's metadata. The itemstack is just a holder item for the information so each supported node in the system has a duplicate holder item. Once the item is placed in the world it then converts the string from the item back in to a table and sets the tables to the corresponding list.
RealBadAngel wrote:Just pull the commit to Technic repo :)
Nore wrote:A suggestion: save node metadata as well, so it will save furnace state, infotexts of technic chests (and you could also use it for signs). Moreover, you should save item metadata (sorry if you already do it, but I didn't saw it while looking at the code). And why do you check if placer is player?
ashenk69 wrote:Nore wrote:A suggestion: save node metadata as well, so it will save furnace state, infotexts of technic chests (and you could also use it for signs). Moreover, you should save item metadata (sorry if you already do it, but I didn't saw it while looking at the code). And why do you check if placer is player?
Item data is how I do all of the storing so you are correct in using that. If you mean storing itemdata and wear from items within the chest than it already does that as well. When you convert the itemstack to a string, everything else is converted along with it. This actually creates a cool system in which you can store chests containing chests inside of chests. Chestception forever!!!
Nore wrote:[And what is the check for placer = player for?
Casimir wrote:Uhm... how to use it?
Mito551 wrote:not iron ingot, but iron lumps...
ashenk69 wrote:Mito551 wrote:not iron ingot, but iron lumps...
For some reason I thought I had put steel ingots not iron lumps. Fixed it.
Evergreen wrote:I just tested this, and this is the best thing since sliced bread. Great job. :D
Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests