ComputerCraft Forums

ComputerCraft => Ask a Pro => Topic started by: Nodrance on Jul 13, 2022, 11:10 PM

Title: (solved) Is inventory detection bugged or am I just stupid?
Post by: Nodrance on Jul 13, 2022, 11:10 PM
EDIT: THIS WAS SOLVED! For anyone coming after me, you need minecraft 1.13+ or the plethora mod









I'm having trouble detecting when a given block is an inventory. According to the docs, peripheral.wrap("front") and peripheral.find("minecraft:chest") should both work fine to detect a chest in front of the turtle. Even copying line for line the example code in the docs (https://tweaked.cc/generic_peripheral/inventory.html) doesn't work, it doesn't detect chests even when they're adjacent on every side. This happens for both computers and turtles. I'm using vanilla chests, minecraft:chest, as confirmed by the inventory name and f3 screen. I copied all the code and checked for errors. Is this a bug or am I monumentally stupid?

Minecraft 1.12.2, CC:tweaked 1.89.2

(https://camo.tmpim.com/df61ec56e42d9ff41833ca9cc5c87ce0560bd50e/68747470733a2f2f6e6f6472616e63652e64646e732e6e65742f766964656f732f73686f742e706e67)
(https://camo.tmpim.com/86420ebb67747dece4469ce461eeeca646b106dc/68747470733a2f2f6e6f6472616e63652e64646e732e6e65742f766964656f732f736875742e706e67)
(https://camo.tmpim.com/5adfea49607a8b2e0c406529611d306989b106b1/68747470733a2f2f6e6f6472616e63652e64646e732e6e65742f766964656f732f736861742e706e67)