cardinal directions aren't working, contrary to the docs.
jebjordan opened this issue ยท 3 comments
Describe
Mods: ONLY CC:Tweaked and Advanced Peripherals.
The inventory manager does not currently allow cardinal directions. (even though supposedly it should? according to the docs at least)
Please fix.
example script:
manager = peripheral.find("inventoryManager") manager.addItemToPlayer("UP", 50, -1)
Do correct me if I am doing something wrong here, but yeah it appears to not work.
This also means that the example script on the docs won't work.
ALSO unrelated but the docs have the NBT version of the example in the non-nbt area and the non-nbt version in the nbt area.
Steps to reproduce
- get your CC setup. (put an inventory manager and such.)
- Put a chest on top of the inventory manager,
- put something in it
- call
manager.addItemToPlayer("UP", 4, -1)
- It won't work because apparently the cardinal directions aren't enabled contrary to the docs.
Multiplayer?
No
Version
1.19.2-0.7.27r (Latest 1.19.2)
Minecraft, Forge and maybe other related mods versions
Forge 43.2.8, Minecraft 1.19.2
Screenshots or Videos
No response
Crashlog/log
No response
While the documentation is indeed wrong, you can use the regular CC directions as stated in the CC: Tweaked Docs, they should work fine.
While the documentation is indeed wrong, you can use the regular CC directions as stated in the CC: Tweaked Docs, they should work fine.
I know that the relative directions work. I was just reporting that the cardinal directions do not work when they supposedly should.
I fixed this in #452, hope SirEndii will merge it