Fixed block items not dropping
This commit is contained in:
parent
ecc7c67c90
commit
53a9c8c1c6
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ object TileWorkbench
|
|||
val model = Array(AdvancedModelLoader.loadModel(new ResourceLocation(Reference.domain, Reference.modelPath + "workbench_0.obj")), AdvancedModelLoader.loadModel(new ResourceLocation(Reference.domain, Reference.modelPath + "workbench_1.obj")))
|
||||
}
|
||||
|
||||
class TileWorkbench extends SpatialTile(Material.rock) with TInventory with TPacketSender with TPacketReceiver
|
||||
class TileWorkbench extends SpatialTile(Material.wood) with TInventory with TPacketSender with TPacketReceiver
|
||||
{
|
||||
//Constructor
|
||||
setTextureName(Reference.prefix + "material_wood_surface")
|
||||
|
|
|
@ -102,7 +102,7 @@ class TileGlassJar extends SpatialTile(Material.wood) with TPacketReceiver with
|
|||
if (alloy != null && alloy.size > 0)
|
||||
{
|
||||
GL11.glPushMatrix()
|
||||
val color = new Color(alloy.color)
|
||||
val color = new Color(alloy.color).darker.darker.darker
|
||||
GL11.glTranslated(0, -0.5 + 0.75f / 2 * alloy.percentage, 0)
|
||||
GL11.glScalef(0.4f, 0.75f * alloy.percentage, 0.4f)
|
||||
GL11.glColor4f(color.getRed / 255f, color.getGreen / 255f, color.getBlue / 255f, 1)
|
||||
|
|
Loading…
Reference in a new issue