Get Item-Id inside Blood Magic Altar 1.12

Started by smiley444, Feb 06, 2021, 09:48 AM

Previous topic - Next topic
Hi there

I'm trying to automate a Blood Magic Altar in Enigmatica 2 Expert Skyblock (1.12.2). I'm trying to get the ID of the item inside the altar but this does not work. I searched a lot and have not found any solution which worked.
So here is my option, which does not work:
local altar = peripheral.find('bloodmagic:altar')
print(altar.getAllStacks()[1].all().id)

The error, which occures, is that getAllStacks on the altar returns nil, although there is something inside the altar.

Any one any soltuion regarding this? Thanks a lot :-)