0

add soul_soil, nether_gold_ore, removelist

This commit is contained in:
InrcedibleHolg
2020-08-04 19:20:09 +02:00
parent 3ac090a7a0
commit 0a9d1961c5
5 changed files with 14 additions and 3 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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;

View File

@@ -4407,6 +4407,12 @@ block(blockid=110, top_image="assets/minecraft/textures/block/mycelium_top.png",
# warped_nylium & crimson_nylium
block(blockid=1006, top_image="assets/minecraft/textures/block/warped_nylium.png", side_image="assets/minecraft/textures/block/warped_nylium_side.png")
block(blockid=1007, top_image="assets/minecraft/textures/block/crimson_nylium.png", side_image="assets/minecraft/textures/block/crimson_nylium_side.png")
# soul soil
soul_soil_texture="assets/minecraft/textures/block/soul_soil.png"
block(blockid=1020, top_image=soul_soil_texture, side_image=soul_soil_texture)
# nether gold ore
nether_gold_texture="assets/minecraft/textures/block/nether_gold_ore.png"
block(blockid=1021, top_image=nether_gold_texture, side_image=nether_gold_texture)
# lilypad
# At the moment of writing this lilypads has no ancil data and their

View File

@@ -719,6 +719,8 @@ class RegionSet(object):
'minecraft:crimson_fungus': (1017, 0),
'minecraft:warped_roots': (1018, 0),
'minecraft:crimson_roots': (1019, 0),
'minecraft:soul_soil': (1020, 0),
'minecraft:nether_gold_ore': (1021, 0),
# New blocks
'minecraft:carved_pumpkin': (11300, 0),