Open mkmark opened 9 months ago
https://github.com/zardoy/prismarine-web-client/commit/6090493bf08310ece0cc861d773a5afc24f008e1
the breakage wasn't intentional. also IMO isAir block property should be used here instead (example: https://github.com/PrismarineJS/minecraft-data/pull/829/files#diff-0d255e355947920697ca68432e2877c7814032af84c682c8281e725b232226fa)
please send a PR
also I don't think the ends_with is right either. Just enumerate all the relevant blocks
This is what i meant by the sentence above. @rom1504 BTW your idea of grouped block fits well here (air blocks) but still has nothing in common with https://github.com/PrismarineJS/node-minecraft-data/pull/335
same here.
has this been solved?
minimal reproduction sample:
Only the stone (state id 1) is drawn when running the code. The stairs (4423, 4424) are invisible. This happens to all stairs. Happens to different versions (1.13, 1.19 tested)
4423 should be the state of stone_brick_stairs
Actually, there are more empty textures to be seen if you uncomment the for loop lines (not sure if the state id is continuous though, but they seems so for 1.13).
I am not entirely sure if this is the correct way of drawing stairs. My actual problem is that prismarine-viewer can not render schematics properly, where all stairs are not drawn. This is an attempt to trace the issue. Please help.