Replies: 1 comment 1 reply
-
You could try checking the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my approach would be to look at the chest's NBT Data which looks something like this:
[facing=south,type=right,waterlogged=false]{Items:[{Count:64b,Slot:0b,id:"minecraft:crimson_stem"}]}
type=right
indicates that it is the right side of a double chest,but i have no idea of how to get the NBT Data of a block entity.
I tried:
let chestBlock = bot.blockAt(chestPosition, true)
blockEntity = chestBlock.blockEntity
because the documentation states:
but this doesn't work, blockEntity is null
Beta Was this translation helpful? Give feedback.
All reactions