@@ -4637,3 +4637,16 @@ def crops(self, blockid, data):
|
|||||||
alpha_over(img, crop2, (6,3), crop2)
|
alpha_over(img, crop2, (6,3), crop2)
|
||||||
alpha_over(img, crop3, (6,3), crop3)
|
alpha_over(img, crop3, (6,3), crop3)
|
||||||
return img
|
return img
|
||||||
|
|
||||||
|
# Concrete
|
||||||
|
@material(blockid=251, data=range(16), solid=True)
|
||||||
|
def concrete(self, blockid, data):
|
||||||
|
texture = self.load_image_texture("assets/minecraft/textures/blocks/concrete_%s.png" % color_map[data])
|
||||||
|
return self.build_block(texture, texture)
|
||||||
|
|
||||||
|
|
||||||
|
# Glazed Terracotta
|
||||||
|
@material(blockid=range(235,251), solid=True, nodata=True)
|
||||||
|
def glazed_terracotta(self, blockid, data):
|
||||||
|
texture = self.load_image_texture("assets/minecraft/textures/blocks/glazed_terracotta_%s.png" % color_map[blockid - 235])
|
||||||
|
return self.build_block(texture, texture)
|
||||||
|
|||||||
Reference in New Issue
Block a user