PrismarineJS / minecraft-data

Language independent module providing minecraft data for minecraft clients, servers and libraries.
https://prismarinejs.github.io/minecraft-data
651 stars 222 forks source link

Bedrock 1.19.80-1.20.71 blocks data #864

Closed FreezeEngine closed 5 months ago

FreezeEngine commented 6 months ago

Data from extractor + used "checkout" to rollback some repos to generate older data

FreezeEngine commented 6 months ago

Some new data here, let me know if there is anything wrong @extremeheat

extremeheat commented 6 months ago

Would be great if there was a way to test this data

FreezeEngine commented 6 months ago

Would be great if there was a way to test this data

Block states were generated from geyser palletes, I have ran a small test on first state of almost each block, I think I can publish it soon (basically takes block names from block enum in avaliable commands packet, runs /setblock foraech of them and awaits for block to change -> gets block name from blocksByStateId and compares)

Also might be able to implement it as a test here

.60 and .70 data I tested with my bot by looking if it decoded pallete correctly and if it fell through the world, collisions were always strange on some blocks, seems like state to correct bounding box is not working propperly (mostly feels like every state has only one collision or is rotated wrongly except for default state)

extremeheat commented 5 months ago

Yes, right now there is no way to validate this data, but there should be. The server sends a block palette checksum so we could check against that in the future. But ideally this is all automated without needing manual work.

extremeheat commented 5 months ago

In the meantime though I'll merge to not create a PR backlog, we can figure out the validation later