Added: Hay blocks, Hardened Clay, Coal blocks, and Carpet.
This commit is contained in:
@@ -4058,3 +4058,23 @@ def hopper(self, blockid, data):
|
|||||||
alpha_over(img, hop_top, (0,-6), hop_top)
|
alpha_over(img, hop_top, (0,-6), hop_top)
|
||||||
|
|
||||||
return img
|
return img
|
||||||
|
|
||||||
|
# hay block
|
||||||
|
@material(blockid=170, solid=True)
|
||||||
|
def hayblock(self, blockid, data):
|
||||||
|
top = self.load_image_texture("textures/blocks/hayBlock_top.png")
|
||||||
|
side = self.load_image_texture("textures/blocks/hayBlock.png")
|
||||||
|
return self.build_block(top, side)
|
||||||
|
|
||||||
|
# carpet - wool block that's small?
|
||||||
|
@material(blockid=171, data=range(16), transparent=True)
|
||||||
|
def carpet(self, blockid, data):
|
||||||
|
texture = self.load_image_texture("textures/blocks/cloth_%d.png" % data)
|
||||||
|
|
||||||
|
return self.build_full_block((texture,15),texture,texture,texture,texture)
|
||||||
|
|
||||||
|
#clay block
|
||||||
|
block(blockid=172, top_image="textures/blocks/clayHardened.png")
|
||||||
|
|
||||||
|
#coal block
|
||||||
|
block(blockid=173, top_image="textures/blocks/blockCoal.png")
|
||||||
|
|||||||
Reference in New Issue
Block a user