v5.0.7 Release

*Bumped versions to 5.0.7.
*Removed lightning rod -- it's OP, buggy, and doesn't make sense.
*Sound effects for Heat Generator and Metallurgic Infuser.
*Hydrogen Generator voltage bumped to 240.
*Fixed Hydrogen Generator not working when below hydrogen level of 11.
*Fixed machinery BuildCraft support.
*Machines and generators light up when in active state.
*Fixed Metallurgic Infuser output bug.
This commit is contained in:
Aidan Brady committed 2013-01-04 23:58:53 -05:00
1 parent 4f7bc5f635
commit c328e393bf
24 files changed
+218 -118

No files matched your search

@@ -3,6 +3,7 @@ package mekanism.common;
import java.util.List;
import java.util.Random;
import mekanism.api.IActiveState;
import mekanism.client.ClientProxy;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
@@ -100,6 +101,22 @@ public class BlockMachine extends BlockContainer
}
}
}
@Override
public int getLightValue(IBlockAccess world, int x, int y, int z)
{
TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
if(tileEntity instanceof IActiveState)
{
if(((IActiveState)tileEntity).getActive())
{
return 15;
}
}
return 0;
}
@Override
public int getBlockTextureFromSideAndMetadata(int side, int meta)