r/ComputerCraft • • Oct 18 '26

Transfering items over wired networks

Hello, transfering items between turtles and chests via a wired network in cc:Tweaked works great. I can just pull/push items from/to any chest connected to that network, once the chest is wrapped in a peripheral.
I also tried that with turtle to turtle transfer, but wrapping a remote turtle in a peripheral just gives me getId, isOn... on that turtle, without any method to transfer to/from the inventory.

While the workaround of pushing items to a chest and pulling from that chest from the other side works fine, its still a workaround with downsides

Before i spam any code, or any more text, i wanna ask if thats even possible, or if i must think of a better working workaround

6 Upvotes

13 comments sorted by

1

u/SirEdvin Oct 18 '26

There is no way to wrap turtle as inventory peripheral without addons. But with UnlimitedPeripheralWorks it comes out of the box, wrapped turtle will also provide inventory methods

1

u/Jonrrrs Oct 18 '26

Thanks for the hint!

1

u/ShreksHellraiser Oct 19 '26

Everyone is massively overcomplicating this. Just use the turtle as the target for inventory operations (see modem.getNameLocal)

1

u/Jonrrrs Oct 19 '26

Tell me you did not read the post without saying that you did not read the post

3

u/IJustAteABaguette Oct 18 '26

I haven't used it before, but apparently something called turtle_storage exists? Maybe something on this page could help?

https://tweaked.cc/peripheral/turtle_storage.html

1

u/Bright-Historian-216 Oct 18 '26

oh wow, the doc page is added two days ago, and the 1.121.0 version doesn't seem to be even released anywhere yet. very interesting

2

u/IJustAteABaguette Oct 18 '26

ooooh yea, that would explain why I didn't recognise it.

I guess there's something new coming out perhaps? Would be really nice to have!

1

u/Bright-Historian-216 Oct 18 '26

i wonder if anything other than shulkers will be equippable. maybe bundles? or other turtles (wouldn't make much sense with the rest of the game unfortunately, but would be hilarious so that's enough justification)?

1

u/IJustAteABaguette Oct 18 '26

Oh I misread that page SO hard.

I skipped over the first non-title line on the page, so I read it as being able to access the turtle as an generic inventory peripheral.

Being able to equip and use extra storage is incredible.

Found this commit 2 weeks ago on the cc_tweaked github

https://github.com/cc-tweaked/CC-Tweaked/commit/038f49fa9acae58f901ef451189ea80d7d340506

Apparently 2 models have been created shulkerboxes on the left and right side of the turtle, and every color of shulkerbox has been added. No bundles or turtles though.

Very excited for this. I never really had problems with inventory space in turtles, and you could just place/mine shulkerboxers with the turtle, but this is great QOL.

1

u/Bright-Historian-216 Oct 18 '26

incredible

1

u/IJustAteABaguette Oct 18 '26

Imported the models/texture into blockbench, quite like it honestly! Even if they're a bit flat.

Does seem like SquidDev is reworking the general turtle upgrade/equipment slots. So might be a while before we get this.

2

u/CommendableCalamari Oct 20 '26

Even if they're a bit flat.

So are shulkers!

1

u/Bright-Historian-216 Oct 18 '26

you can use turtle.drop i think, if the block in front of the turtle is an inventory the item will be pushed in instead of dropped on the ground