add other textures for powered rails
This commit is contained in:
parent
f93cab826d
commit
d58d0531eb
@ -194,6 +194,7 @@ class MCMaterials(object):
|
|||||||
self.flatColors[blockID, (blockData or slice(None))] = block.color
|
self.flatColors[blockID, (blockData or slice(None))] = block.color
|
||||||
|
|
||||||
texture = kw.pop('texture', None)
|
texture = kw.pop('texture', None)
|
||||||
|
|
||||||
if texture:
|
if texture:
|
||||||
self.blockTextures[blockID,(blockData or slice(None))] = texture
|
self.blockTextures[blockID,(blockData or slice(None))] = texture
|
||||||
|
|
||||||
@ -432,9 +433,10 @@ am.Bed = am.Block(26,
|
|||||||
|
|
||||||
am.PoweredRail = am.Block(27,
|
am.PoweredRail = am.Block(27,
|
||||||
name="Powered Rail",
|
name="Powered Rail",
|
||||||
texture=(0x30, 0xB0),
|
texture=(0x30, 0xA0),
|
||||||
opacity=0,
|
opacity=0,
|
||||||
)
|
)
|
||||||
|
am.blockTextures[am.PoweredRail.ID][8:] = (0x30, 0xB0)
|
||||||
|
|
||||||
am.DetectorRail = am.Block(28,
|
am.DetectorRail = am.Block(28,
|
||||||
name="Detector Rail",
|
name="Detector Rail",
|
||||||
|
Reference in New Issue
Block a user