From d58d0531eb73d75ef67f7865c64eebc802fd7ce4 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Sat, 23 Apr 2011 12:02:39 -1000 Subject: [PATCH] add other textures for powered rails --- materials.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/materials.py b/materials.py index 20ed934..7df0cff 100644 --- a/materials.py +++ b/materials.py @@ -194,6 +194,7 @@ class MCMaterials(object): self.flatColors[blockID, (blockData or slice(None))] = block.color texture = kw.pop('texture', None) + if texture: self.blockTextures[blockID,(blockData or slice(None))] = texture @@ -432,9 +433,10 @@ am.Bed = am.Block(26, am.PoweredRail = am.Block(27, name="Powered Rail", - texture=(0x30, 0xB0), + texture=(0x30, 0xA0), opacity=0, ) +am.blockTextures[am.PoweredRail.ID][8:] = (0x30, 0xB0) am.DetectorRail = am.Block(28, name="Detector Rail",