Uses `block.getProperties()`. Thanks to a [comment][1] [1]: https://github.com/PrismarineJS/mineflayer-pathfinder/pull/84/files#r541196424