minecraft-data icon indicating copy to clipboard operation
minecraft-data copied to clipboard

Propose interaction shapes data

Open zardoy opened this issue 7 months ago • 6 comments

similar to https://github.com/PrismarineJS/minecraft-data/pull/829 want to propose having interaction shapes which is essential for p web client and bot.cursorAtBlock to work correctly. As far as I remember its currently not possible to detect/break blocks like redstone wires with mineflayer. I extracted interaction shapes of all interested blocks (with a few per-class manual fixes). It was much harder to extract using text manipulation since all blocks set these shapes differently and some like redstone calculate them at class initialization, I'm pretty sure it would be much easier to extract using them using other extractors, but I can't investigate it, sorry.

zardoy avatar Jan 10 '24 01:01 zardoy