CC: Tweaked

CC: Tweaked

42M Downloads

Can't push/pull to/from inventories on cable from adjacent inventories

RGFTheCoder opened this issue ยท 6 comments

commented

Useful information to include:

  • 1.16.4 Forge 35.1.37
  • CC: Tweaked 1.95.2
  • Logs: latest.log
  • Detailed reproduction steps:
  • Place a chest with an item (slot 1) on a wired modem block and connect it
  • Place a chest left of the computer
  • Run peripheral.wrap("left").pullItems("minecraft:chest_0",1)
  • Error: Target 'minecraft:chest_0' does not exist

Images:
Screenshot_20210125_124440
Screenshot_20210125_124502
Screenshot_20210125_124509
Screenshot_20210125_124515
Screenshot_20210125_124523
Screenshot_20210125_124528

commented

Issue happens on computers and turtles

commented

Basically the sides of a computer form their own network - hence being able to push from the left to the right. Very much intentional, but probably a mistake as it's not really documented and awkward to describe and reason about.

Oh well, people are probably relying on this behaviour somewhere, so too late to change it now.

commented

As per the documentation

This allows you to push an item in an inventory to another inventory on the same wired network. Both inventories must attached to wired modems which are connected via a cable.

You can't call pushItems/pullItems from peripherals wrapped with left/top, etc... I guess we should probably detect when peripherals aren't on a wired network and produce a more helpful error message.

commented

I'm able to call pushItems/pullItems of peripheral.wrap("left") but can only move to another adjacent inventory. Is that intentional?

commented

It does seem a bit inconsistent.
obraz
obraz
Considering there is no proper way to move items into a turtle from sides (without middleman modem creating wired connection) other then sucking I am surprised computer can move things between sides. I am guessing unintended feature?

commented

Cool. I was able to differentiate between all my chests and the adjacent one by using a barrel instead. Thanks for the clarification. Now if anyone has a similar issue they'll be able to figure it out quicker :)