More Reactor GUI work

This commit is contained in:
Ben Spiers committed 2014-07-23 01:25:10 +01:00
1 parent 775ba68482
commit 84daf186ca
10 files changed
+173 -37

No files matched your search

@@ -14,13 +14,13 @@ import io.netty.buffer.ByteBuf;
public class TileEntityLaser extends TileEntityElectricBlock
{
public static final double LASER_ENERGY = 50000;
public static final double LASER_ENERGY = 1E10;
public boolean on;
public TileEntityLaser()
{
super("Laser", 100000);
super("Laser", 2*LASER_ENERGY);
inventory = new ItemStack[0];
}
@@ -45,6 +45,7 @@ public class TileEntityLaser extends TileEntityElectricBlock
on = true;
Mekanism.packetHandler.sendToAllAround(new TileEntityMessage(Coord4D.get(this), getNetworkedData(new ArrayList())), Coord4D.get(this).getTargetPoint(50D));
}
LaserManager.fireLaser(Coord4D.get(this), ForgeDirection.getOrientation(facing), LASER_ENERGY, worldObj);
setEnergy(getEnergy() - LASER_ENERGY);
}