diff --git a/overviewer_core/src/block_class.c b/overviewer_core/src/block_class.c index 5645f0c..c07f47d 100644 --- a/overviewer_core/src/block_class.c +++ b/overviewer_core/src/block_class.c @@ -71,6 +71,7 @@ const mc_block_t block_class_stair[] = { block_acacia_stairs, block_dark_oak_stairs, block_red_sandstone_stairs, + block_smooth_red_sandstone_stairs, block_purpur_stairs, block_prismarine_stairs, block_dark_prismarine_stairs, @@ -140,6 +141,7 @@ const mc_block_t block_class_ancil[] = { block_acacia_stairs, block_dark_oak_stairs, block_red_sandstone_stairs, + block_smooth_red_sandstone_stairs, block_purpur_stairs, block_prismarine_stairs, block_dark_prismarine_stairs, @@ -210,6 +212,7 @@ const mc_block_t block_class_alt_height[] = { block_acacia_stairs, block_dark_oak_stairs, block_red_sandstone_stairs, + block_smooth_red_sandstone_stairs, block_prismarine_stairs, block_dark_prismarine_stairs, block_prismarine_brick_stairs, diff --git a/overviewer_core/src/mc_id.h b/overviewer_core/src/mc_id.h index f47168a..2ded723 100644 --- a/overviewer_core/src/mc_id.h +++ b/overviewer_core/src/mc_id.h @@ -183,6 +183,7 @@ enum mc_block_id { block_daylight_detector_inverted = 178, block_red_sandstone = 179, block_red_sandstone_stairs = 180, + block_smooth_red_sandstone_stairs = 11415, block_double_stone_slab2 = 181, block_stone_slab2 = 182, block_spruce_fence_gate = 183, diff --git a/overviewer_core/src/overviewer.h b/overviewer_core/src/overviewer.h index 6126365..49955ad 100644 --- a/overviewer_core/src/overviewer.h +++ b/overviewer_core/src/overviewer.h @@ -31,7 +31,7 @@ // increment this value if you've made a change to the c extesion // and want to force users to rebuild -#define OVERVIEWER_EXTENSION_VERSION 75 +#define OVERVIEWER_EXTENSION_VERSION 76 #include #include diff --git a/overviewer_core/textures.py b/overviewer_core/textures.py index 3367fcd..7f27b3b 100644 --- a/overviewer_core/textures.py +++ b/overviewer_core/textures.py @@ -1958,8 +1958,9 @@ block(blockid=52, top_image="assets/minecraft/textures/block/spawner.png", trans # wooden, cobblestone, red brick, stone brick, netherbrick, sandstone, spruce, birch, # jungle, quartz, red sandstone, (dark) prismarine, mossy brick and mossy cobblestone, stone smooth_quartz # polished_granite polished_andesite polished_diorite granite diorite andesite end_stone_bricks red_nether_brick stairs +# smooth_red_sandstone_stairs @material(blockid=[53, 67, 108, 109, 114, 128, 134, 135, 136, 156, 163, 164, 180, 203, 11337, 11338, 11339, - 11370, 11371, 11374, 11375, 11376, 11377, 11378, 11379, 11380, 11381, 11382, 11383, 11384], + 11370, 11371, 11374, 11375, 11376, 11377, 11378, 11379, 11380, 11381, 11382, 11383, 11384, 11415], data=list(range(128)), transparent=True, solid=True, nospawn=True) def stairs(self, blockid, data): # preserve the upside-down bit @@ -2004,6 +2005,7 @@ def stairs(self, blockid, data): 11382: "assets/minecraft/textures/block/andesite.png", 11383: "assets/minecraft/textures/block/end_stone_bricks.png", 11384: "assets/minecraft/textures/block/red_nether_bricks.png", + 11415: "assets/minecraft/textures/block/red_sandstone_top.png", } texture = self.load_image_texture(stair_id_to_tex[blockid]).copy() diff --git a/overviewer_core/world.py b/overviewer_core/world.py index daafceb..0558d91 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -831,6 +831,7 @@ class RegionSet(object): 'minecraft:dark_oak_sapling': (11390, 0), 'minecraft:bamboo_sapling': (11413, 0), 'minecraft:scaffolding': (11414, 0), + "minecraft:smooth_red_sandstone_stairs": (11415, 0), # adding a gap in the numbering of walls to keep them all # in one numbering block starting at 21000 'minecraft:andesite_wall': (21000, 0),