0

Add blackstone and netherite blocks

This commit is contained in:
Nicolas F
2020-06-25 23:07:07 +02:00
parent bc56346bad
commit fd2c0a057a
3 changed files with 12 additions and 0 deletions

View File

@@ -265,6 +265,8 @@ enum mc_block_id {
block_basalt = 1001,
block_polished_basalt = 1002,
block_soul_campfire = 1003,
block_blackstone = 1004,
block_netherite_block = 1005,
block_prismarine_stairs = 11337,
block_dark_prismarine_stairs = 11338,

View File

@@ -5705,3 +5705,11 @@ def basalt(self, blockid, data):
return self.build_full_block(side.rotate(90), None, None, top, side.rotate(90))
elif data == 2: # north-south orientation
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")

View File

@@ -691,6 +691,8 @@ class RegionSet(object):
'minecraft:basalt': (1001, 0),
'minecraft:polished_basalt': (1002, 0),
'minecraft:soul_campfire': (1003, 0),
'minecraft:blackstone': (1004, 0),
'minecraft:netherite_block': (1005, 0),
# New blocks
'minecraft:carved_pumpkin': (11300, 0),