-
Hey, I want to push/remove items from a chest with my Me Bridge(See here). Like I hope you can understand what I mean. 🙂 Useful information to include:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The best thing to do is probably have a look at what CC:T's inventory methods do: Basically you want to use |
Beta Was this translation helpful? Give feedback.
The best thing to do is probably have a look at what CC:T's inventory methods do:
https://github.com/SquidDev-CC/CC-Tweaked/blob/1825f67eee86b74542adc374b83ed55ba1c5ab68/src/main/java/dan200/computercraft/shared/peripheral/generic/methods/InventoryMethods.java#L133-L143
Basically you want to use
IComputerAccess.getAvailablePeripheral
to get peripherals on the network, and thenIPeripheral.getTarget
to get the originalTileEntity
(well, assuming mods have correctly implemented the method).