mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 07:36:01 +00:00
More Reactor GUI work
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user