0

Render furnaces with the correct texture (instead of smooth stone)

These are handled specially, since one side texture is different than the
other
This commit is contained in:
Andrew Chin
2010-10-01 22:51:02 -04:00
parent 78962cfbe5
commit 66a90bb411
2 changed files with 26 additions and 4 deletions

View File

@@ -272,7 +272,8 @@ class ChunkRenderer(object):
# alone. additional data is required.
# TODO torches, redstone torches, crops, ladders, stairs,
# levers, doors, buttons, and signs all need to be handled here (and in textures.py)
if blockid in (66,59): ## minecart track, crops
if blockid in (66,59,61,62): ## minecart track, crops
# also handle furnaces here, since one side has a different texture than the other
ancilData = blockData_expanded[x,y,z]
t = textures.generate_special_texture(blockid, ancilData)