Add blackstone and netherite blocks
This commit is contained in:
@@ -265,6 +265,8 @@ enum mc_block_id {
|
|||||||
block_basalt = 1001,
|
block_basalt = 1001,
|
||||||
block_polished_basalt = 1002,
|
block_polished_basalt = 1002,
|
||||||
block_soul_campfire = 1003,
|
block_soul_campfire = 1003,
|
||||||
|
block_blackstone = 1004,
|
||||||
|
block_netherite_block = 1005,
|
||||||
|
|
||||||
block_prismarine_stairs = 11337,
|
block_prismarine_stairs = 11337,
|
||||||
block_dark_prismarine_stairs = 11338,
|
block_dark_prismarine_stairs = 11338,
|
||||||
|
|||||||
@@ -5705,3 +5705,11 @@ def basalt(self, blockid, data):
|
|||||||
return self.build_full_block(side.rotate(90), None, None, top, side.rotate(90))
|
return self.build_full_block(side.rotate(90), None, None, top, side.rotate(90))
|
||||||
elif data == 2: # north-south orientation
|
elif data == 2: # north-south orientation
|
||||||
return self.build_full_block(side, None, None, side.rotate(270), top)
|
return self.build_full_block(side, None, None, side.rotate(270), top)
|
||||||
|
|
||||||
|
|
||||||
|
# Blackstone block
|
||||||
|
block(blockid=[1004], top_image="assets/minecraft/textures/block/blackstone_top.png",
|
||||||
|
side_image="assets/minecraft/textures/block/blackstone.png")
|
||||||
|
|
||||||
|
# Netherite
|
||||||
|
block(blockid=[1005], top_image="assets/minecraft/textures/block/netherite_block.png")
|
||||||
|
|||||||
@@ -691,6 +691,8 @@ class RegionSet(object):
|
|||||||
'minecraft:basalt': (1001, 0),
|
'minecraft:basalt': (1001, 0),
|
||||||
'minecraft:polished_basalt': (1002, 0),
|
'minecraft:polished_basalt': (1002, 0),
|
||||||
'minecraft:soul_campfire': (1003, 0),
|
'minecraft:soul_campfire': (1003, 0),
|
||||||
|
'minecraft:blackstone': (1004, 0),
|
||||||
|
'minecraft:netherite_block': (1005, 0),
|
||||||
|
|
||||||
# New blocks
|
# New blocks
|
||||||
'minecraft:carved_pumpkin': (11300, 0),
|
'minecraft:carved_pumpkin': (11300, 0),
|
||||||
|
|||||||
Reference in New Issue
Block a user