Merge branch 'patch-3' of git://github.com/tazorax/Minecraft-Overviewer
This commit is contained in:
@@ -4062,12 +4062,15 @@ def beacon(self, blockid, data):
|
|||||||
|
|
||||||
return img
|
return img
|
||||||
|
|
||||||
# cobblestone and mossy cobblestone walls
|
# cobblestone and mossy cobblestone walls, chorus plants
|
||||||
# one additional bit of data value added for mossy and cobblestone
|
# one additional bit of data value added for mossy and cobblestone
|
||||||
@material(blockid=139, data=range(32), transparent=True, nospawn=True)
|
@material(blockid=[139, 199], data=range(32), transparent=True, nospawn=True)
|
||||||
def cobblestone_wall(self, blockid, data):
|
def cobblestone_wall(self, blockid, data):
|
||||||
|
# chorus plants
|
||||||
|
if blockid == 199:
|
||||||
|
t = self.load_image_texture("assets/minecraft/textures/blocks/chorus_plant.png").copy()
|
||||||
# no rotation, uses pseudo data
|
# no rotation, uses pseudo data
|
||||||
if data & 0b10000 == 0:
|
elif data & 0b10000 == 0:
|
||||||
# cobblestone
|
# cobblestone
|
||||||
t = self.load_image_texture("assets/minecraft/textures/blocks/cobblestone.png").copy()
|
t = self.load_image_texture("assets/minecraft/textures/blocks/cobblestone.png").copy()
|
||||||
else:
|
else:
|
||||||
@@ -4448,6 +4451,17 @@ def flower(self, blockid, data):
|
|||||||
|
|
||||||
return img
|
return img
|
||||||
|
|
||||||
|
# chorus flower
|
||||||
|
@material(blockid=200, data=range(6), solid=True)
|
||||||
|
def chorus_flower(self, blockid, data):
|
||||||
|
# aged 5, dead
|
||||||
|
if data == 5:
|
||||||
|
texture = self.load_image_texture("assets/minecraft/textures/blocks/chorus_flower_dead.png")
|
||||||
|
else:
|
||||||
|
texture = self.load_image_texture("assets/minecraft/textures/blocks/chorus_flower.png")
|
||||||
|
|
||||||
|
return self.build_block(texture,texture)
|
||||||
|
|
||||||
# purpur block
|
# purpur block
|
||||||
block(blockid=201, top_image="assets/minecraft/textures/blocks/purpur_block.png")
|
block(blockid=201, top_image="assets/minecraft/textures/blocks/purpur_block.png")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user