Can't push/pull to/from inventories on cable from adjacent inventories
RGFTheCoder opened this issue ยท 6 comments
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
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.
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.
I'm able to call pushItems/pullItems of peripheral.wrap("left")
but can only move to another adjacent inventory. Is that intentional?