mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
More work on Fusion Reactor and Lasers
This commit is contained in:
1 parent
cf6f5ab387
commit
0638cdb61c
18 files changed
+593
-20
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package mekanism.api.lasers;
|
||||
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
public interface ILaserReceptor
|
||||
{
|
||||
public void receiveLaserEnergy(double energy, ForgeDirection side);
|
||||
|
||||
public boolean canLasersDig();
|
||||
|
||||
public double energyToDig();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package mekanism.api.lasers;
|
||||
|
||||
import mekanism.api.Coord4D;
|
||||
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
public class LaserManager
|
||||
{
|
||||
public static void fireLaser(Coord4D from, ForgeDirection direction, double energy)
|
||||
{
|
||||
//TODO: Implement this
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package mekanism.api.reactor;
|
||||
|
||||
import mekanism.api.gas.GasTank;
|
||||
|
||||
import net.minecraftforge.fluids.FluidTank;
|
||||
|
||||
public interface IFusionReactor
|
||||
{
|
||||
public void addTemperature(double energyAdded);
|
||||
|
||||
public void simulate();
|
||||
|
||||
public FluidTank getWaterTank();
|
||||
|
||||
public FluidTank getSteamTank();
|
||||
|
||||
public GasTank getDeuteriumTank();
|
||||
|
||||
public GasTank getTritiumTank();
|
||||
|
||||
public GasTank getFuelTank();
|
||||
}
|
||||
@@ -1,7 +1,12 @@
|
||||
package mekanism.api.reactor;
|
||||
|
||||
|
||||
public interface IReactorBlock
|
||||
{
|
||||
public boolean isFrame();
|
||||
|
||||
public void setReactor(IFusionReactor reactor);
|
||||
|
||||
public IFusionReactor getReactor();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user