add soul_soil, nether_gold_ore, removelist
This commit is contained in:
@@ -279,7 +279,8 @@ enum mc_block_id {
|
||||
block_crimson_fungus = 1017,
|
||||
block_warped_roots = 1018,
|
||||
block_crimson_roots = 1019,
|
||||
|
||||
block_soul_soil = 1020,
|
||||
block_nether_gold_ore = 1021,
|
||||
// adding a gap in the numbering of walls to keep them all
|
||||
// in one numbering block starting at 1792
|
||||
// all blocks between 1792 and 2047 are considered walls
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
// increment this value if you've made a change to the c extension
|
||||
// and want to force users to rebuild
|
||||
#define OVERVIEWER_EXTENSION_VERSION 88
|
||||
#define OVERVIEWER_EXTENSION_VERSION 89
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -37,7 +37,9 @@ walk_chunk(RenderState* state, RenderPrimitiveNether* data) {
|
||||
|
||||
for (y = NETHER_ROOF - 1; y >= 0; y--) {
|
||||
blockid = get_data(state, BLOCKS, x, y - (state->chunky * 16), z);
|
||||
if (block_class_is_subset(blockid, (mc_block_t[]){block_bedrock, block_netherrack, block_quartz_ore, block_lava}, 4))
|
||||
if (block_class_is_subset(blockid, (mc_block_t[]){block_bedrock, block_netherrack,
|
||||
block_quartz_ore, block_lava, block_soul_sand, block_basalt, block_blackstone,
|
||||
block_soul_soil, block_nether_gold_ore}, 9))
|
||||
data->remove_block[x + 1][y][z + 1] = true;
|
||||
else
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user