Jump to content

Recommended Posts

Posted

Ladies and Gentlemen, following the thread in http://technicpack.net/forums/threads/mod-item-stand.15469/ I present to you:

Item Stand

As our very own creatine raper jakj put it: "This is a one-slot chest that you don't have to open to use." On usage (right-click) it switches its internal storage with the itemstack currently in the users hand.

New in 0.3.0 now is the ability to directly use the right-click function of the contained item simply by sneaking while using the item stand. Food can also be eaten instantly.

v0.4.0 now brings compatibility to stuff like tubes and pipes.

Recipe:

w95qm.png

Currently SSP only, Minecraft 1.2.5, Forge (tested only with forge #164 (and #160 now)), uses one BlockId (default is 184).

Download:

Mod [sSP] http://home.halifax.rwth-aachen.de/~milamber/ItemStand-0.4.0b.zip

Source: http://home.halifax.rwth-aachen.de/~milamber/ItemStand-0.4.0b-src.zip

Changelog:

0.4.0b Rendering bug with chests fixed. Thanks Industrial Miner.

0.4.0 Added IInventory. ItemStand is now interactible with stuff like tubes and pipes.

0.3.0 Added sneaking right click function.

0.2.0 Initial release.

Old Versions:

Mod [sSP] http://home.halifax.rwth-aachen.de/~milamber/ItemStand-0.3.0.zip

Source: http://home.halifax.rwth-aachen.de/~milamber/ItemStand-0.3.0-src.zip

Mod [sSP] http://home.halifax.rwth-aachen.de/~milamber/ItemStand-0.2.0.zip

Source: http://home.halifax.rwth-aachen.de/~milamber/ItemStand-0.2.0-src.zip

If anybody has different versions of forge and it works: please tell me, so I can update this post accordingly.

Edit: Forgot to mention credit, where credit is due: My learning experience and parts of the code are heavily influenced by cpw's IronChest mod.

Posted

Feel free to include it. This also goes for anybody wanting to use it. It would be nice to get a post in this thread when it is included in a mod pack, but that's no requirement. Also if anybody wants to make derived work of it: have fun. It would just be nice to include me as the original author.

Posted

New version 0.3.0

Sneaking during right click calls directly the right click handler of the contained item. Food gets eaten instantly. (At least vanilla food+milk+potions)

Be wary for what items you use the sneak click. Lava buckets aren't friendly :)

Posted

Anything that implements IInventory or ISidedInventory should be supported by Buildcraft pipes and Redstone tubes without any additional code.

Posted

Maybe tomorrow, today I just can't bring myself to do any programming. Started learning SMP compatibility and lost interest halfway. Implementing IInventory sounds quick, so expect a new version tomorrow evening.

Just out of curiosity: For what purpose do you want to connect pipes to it? I can't imagine a good usage for that currently. (Maybe I should sleep more ;-))

Posted

To have automatic resupply, like a feeding station where you just click to eat as you run by since there's always food in it.

Slap a supplier and teleport pipe on it and you have a super quick dispensary anywhere go of freshly crafted building materials, or a portable one-click trashcan.

A quick way to resupply ammunition for a musket on the run during battle, or any sort of material during a game or adventure.

Posted

Yeah what jakj just said. But also because I want a storage chest with only one slot.

EDIT: I think I have found a bug. I don't know if it's still in 0.3.0 because dropbox gives me a 404 error. If you put in a chest, enderchest, ironchest and any other chest that looks like the normal chest isn't centered in the itemstand.

Posted

Chest support implemented. Rendering bug with chests should also now be fixed.

Item also now rotate correctly, instead of showing you the same side twice. In the earlier versions, a sword always had the hilt in the bottom left, even after rotating 180°.

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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