add block defs for 1.9pre
This commit is contained in:
parent
ef23f562ab
commit
336f78a65f
51
materials.py
51
materials.py
@ -190,7 +190,7 @@ class MCMaterials(object):
|
|||||||
self.lightAbsorption[blockID] = block.opacity
|
self.lightAbsorption[blockID] = block.opacity
|
||||||
self.aka[blockID] = block.aka
|
self.aka[blockID] = block.aka
|
||||||
|
|
||||||
self.flatColors[blockID, (blockData or slice(None))] = block.color
|
self.flatColors[blockID, (blockData or slice(None))] = (block.color + (255,))[:4]
|
||||||
|
|
||||||
texture = kw.pop('texture', None)
|
texture = kw.pop('texture', None)
|
||||||
|
|
||||||
@ -1091,7 +1091,54 @@ am.StoneBrickStairs = am.Block(109,
|
|||||||
color=am.StoneBricks.color,
|
color=am.StoneBricks.color,
|
||||||
)
|
)
|
||||||
|
|
||||||
am.AllStairs = [am.WoodenStairs, am.StoneStairs, am.BrickStairs, am.StoneBrickStairs]
|
am.Mycelium = am.Block(110,
|
||||||
|
name="Mycelium",
|
||||||
|
texture = ((0xd0, 0x40), (0xd0, 0x40),
|
||||||
|
(0xe0, 0x40), (0x20, 0x00),
|
||||||
|
(0xd0, 0x40), (0xd0, 0x40),
|
||||||
|
),
|
||||||
|
color=(140, 115, 119),
|
||||||
|
)
|
||||||
|
|
||||||
|
am.Lilypad = am.Block(111,
|
||||||
|
name="Lilypad",
|
||||||
|
texture = (0xc0, 0x40),
|
||||||
|
opacity = 0,
|
||||||
|
)
|
||||||
|
|
||||||
|
am.NetherBrick = am.Block(112,
|
||||||
|
name="Nether Brick",
|
||||||
|
texture = (0x0, 0xe0),
|
||||||
|
color=(54, 24, 30),
|
||||||
|
)
|
||||||
|
|
||||||
|
am.NetherBrickFence = am.Block(113,
|
||||||
|
name="Nether Fence",
|
||||||
|
texture = (0x0, 0xe0),
|
||||||
|
color=(54, 24, 30),
|
||||||
|
)
|
||||||
|
|
||||||
|
am.NetherBrickStairs = am.Block(114,
|
||||||
|
name="Nether Stairs",
|
||||||
|
texture = (0x0, 0xe0),
|
||||||
|
color=(54, 24, 30),
|
||||||
|
)
|
||||||
|
|
||||||
|
am.NetherWart = am.Block(115,
|
||||||
|
name="Nether Wart",
|
||||||
|
texture = (0x40, 0xe0),
|
||||||
|
color=(112, 8, 28),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
am.AllStairs = [
|
||||||
|
am.WoodenStairs,
|
||||||
|
am.StoneStairs,
|
||||||
|
am.BrickStairs,
|
||||||
|
am.StoneBrickStairs,
|
||||||
|
am.NetherBrickStairs,
|
||||||
|
]
|
||||||
del am
|
del am
|
||||||
|
|
||||||
from classicmaterials import classicMaterials
|
from classicmaterials import classicMaterials
|
||||||
|
Reference in New Issue
Block a user