@@ -260,6 +260,47 @@ enum mc_block_id {
260260 block_structure_block = 255 ,
261261 block_jigsaw = 256 ,
262262 block_shulker_box = 257 ,
263+ // 1.16 stuff
264+ block_ancient_debris = 1000 ,
265+ block_basalt = 1001 ,
266+ block_polished_basalt = 1002 ,
267+ block_soul_campfire = 1003 ,
268+ block_blackstone = 1004 ,
269+ block_netherite_block = 1005 ,
270+ block_warped_nylium = 1006 ,
271+ block_crimson_nylium = 1007 ,
272+ block_warped_wart_block = 1010 ,
273+ block_shroomlight = 1011 ,
274+ block_twisting_vines = 1012 ,
275+ block_twisting_vines_plant = 1013 ,
276+ block_weeping_vines = 1014 ,
277+ block_weeping_vines_plant = 1015 ,
278+ block_warped_fungus = 1016 ,
279+ block_crimson_fungus = 1017 ,
280+ block_warped_roots = 1018 ,
281+ block_crimson_roots = 1019 ,
282+ block_soul_soil = 1020 ,
283+ block_nether_gold_ore = 1021 ,
284+ // adding a gap in the numbering of walls to keep them all
285+ // in one numbering block starting at 1792
286+ // all blocks between 1792 and 2047 are considered walls
287+ // this is because our check looks for the prefix 0b11100000000
288+ block_andesite_wall = 1792 ,
289+ block_brick_wall = 1793 ,
290+ block_cobblestone_wall = 1794 ,
291+ block_diorite_wall = 1795 ,
292+ block_end_stone_brick_wall = 1796 ,
293+ block_granite_wall = 1797 ,
294+ block_mossy_cobblestone_wall = 1798 ,
295+ block_mossy_stone_brick_wall = 1799 ,
296+ block_nether_brick_wall = 1800 ,
297+ block_prismarine_wall = 1801 ,
298+ block_red_nether_brick_wall = 1802 ,
299+ block_red_sandstone_wall = 1803 ,
300+ block_sandstone_wall = 1804 ,
301+ block_stone_brick_wall = 1805 ,
302+ // end of walls
303+
263304 block_prismarine_stairs = 11337 ,
264305 block_dark_prismarine_stairs = 11338 ,
265306 block_prismarine_brick_stairs = 11339 ,
@@ -336,23 +377,7 @@ enum mc_block_id {
336377 block_honey_block = 11504 ,
337378 block_sweet_berry_bush = 11505 ,
338379 block_campfire = 11506 ,
339- block_bell = 11507 ,
340- // adding a gap in the numbering of walls to keep them all
341- // in one numbering block starting at 21000
342- block_andesite_wall = 21000 ,
343- block_brick_wall = 21001 ,
344- block_cobblestone_wall = 21002 ,
345- block_diorite_wall = 21003 ,
346- block_end_stone_brick_wall = 21004 ,
347- block_granite_wall = 21005 ,
348- block_mossy_cobblestone_wall = 21006 ,
349- block_mossy_stone_brick_wall = 21007 ,
350- block_nether_brick_wall = 21008 ,
351- block_prismarine_wall = 21009 ,
352- block_red_nether_brick_wall = 21010 ,
353- block_red_sandstone_wall = 21011 ,
354- block_sandstone_wall = 21012 ,
355- block_stone_brick_wall = 21013
380+ block_bell = 11507
356381};
357382
358383typedef uint16_t mc_block_t ;
0 commit comments