Carpet

Carpet

2M Downloads

Can't check for item names in Scarpet

Zedespook opened this issue ยท 3 comments

commented

/script run print(get(player() ~ 'holds', 0))

I use the command above, I don't know if I use it incorrectly, but even if I change the number, the message is the same on every third number. I don't know what I'm doing wrong, I checked the documentation, and I still don't know how to get the name of an item.

commented

name is hidden inside item's NBT (inside third element returned with 'holds'). You can still check it, but its more complex

commented

Btw, you have already created issue about it, and I replied to it:
#61

commented

what a waste of issue 69