Fix config changes etc.
This commit is contained in:
parent
83190fc39f
commit
2209177e1a
12 changed files with 27 additions and 62 deletions
|
@ -14,8 +14,8 @@ import ic2.api.tile.IWrenchable;
|
|||
public class TileAesu extends TilePowerAcceptor implements IWrenchable
|
||||
{
|
||||
|
||||
public static final int MAX_OUTPUT = ConfigTechReborn.aesuMaxOutput;
|
||||
public static final int MAX_STORAGE = ConfigTechReborn.aesuMaxStorage;
|
||||
public static final int MAX_OUTPUT = ConfigTechReborn.AesuMaxOutput;
|
||||
public static final int MAX_STORAGE = ConfigTechReborn.AesuMaxStorage;
|
||||
public Inventory inventory = new Inventory(4, "TileAesu", 64, this);
|
||||
private int OUTPUT = 64; // The current output
|
||||
private double euLastTick = 0;
|
||||
|
@ -31,7 +31,7 @@ public class TileAesu extends TilePowerAcceptor implements IWrenchable
|
|||
public void updateEntity()
|
||||
{
|
||||
super.updateEntity();
|
||||
if (ticks == ConfigTechReborn.aveargeEuOutTickTime)
|
||||
if (ticks == ConfigTechReborn.AverageEuOutTickTime)
|
||||
{
|
||||
euChange = -1;
|
||||
ticks = 0;
|
||||
|
|
|
@ -27,7 +27,7 @@ import ic2.api.tile.IWrenchable;
|
|||
public class TileDieselGenerator extends TilePowerAcceptor implements IWrenchable, IFluidHandler, IInventory
|
||||
{
|
||||
|
||||
public static final int euTick = ConfigTechReborn.ThermalGenertaorOutput;
|
||||
public static final int euTick = ConfigTechReborn.ThermalGeneratorOutput;
|
||||
public Tank tank = new Tank("TileDieselGenerator", FluidContainerRegistry.BUCKET_VOLUME * 10, this);
|
||||
public Inventory inventory = new Inventory(3, "TileDieselGenerator", 64, this);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import ic2.api.tile.IWrenchable;
|
|||
public class TileDragonEggSiphoner extends TilePowerAcceptor implements IWrenchable, IInventory
|
||||
{
|
||||
|
||||
public static final int euTick = ConfigTechReborn.DragoneggsiphonerOutput;
|
||||
public static final int euTick = ConfigTechReborn.DragonEggSiphonerOutput;
|
||||
public Inventory inventory = new Inventory(3, "TileAlloySmelter", 64, this);
|
||||
|
||||
public TileDragonEggSiphoner()
|
||||
|
|
|
@ -14,7 +14,7 @@ import ic2.api.tile.IWrenchable;
|
|||
public class TileHeatGenerator extends TilePowerAcceptor implements IWrenchable
|
||||
{
|
||||
|
||||
public static final int euTick = ConfigTechReborn.heatGeneratorOutput;
|
||||
public static final int euTick = ConfigTechReborn.HeatGeneratorOutput;
|
||||
|
||||
public TileHeatGenerator()
|
||||
{
|
||||
|
|
|
@ -30,7 +30,7 @@ import ic2.api.tile.IWrenchable;
|
|||
public class TileThermalGenerator extends TilePowerAcceptor implements IWrenchable, IFluidHandler, IInventory
|
||||
{
|
||||
|
||||
public static final int euTick = ConfigTechReborn.ThermalGenertaorOutput;
|
||||
public static final int euTick = ConfigTechReborn.ThermalGeneratorOutput;
|
||||
public Tank tank = new Tank("TileThermalGenerator", FluidContainerRegistry.BUCKET_VOLUME * 10, this);
|
||||
public Inventory inventory = new Inventory(3, "TileThermalGenerator", 64, this);
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ public class TileIDSU extends TilePowerAcceptor
|
|||
{
|
||||
super.updateEntity();
|
||||
|
||||
if (ticks == ConfigTechReborn.aveargeEuOutTickTime)
|
||||
if (ticks == ConfigTechReborn.AverageEuOutTickTime)
|
||||
{
|
||||
euChange = -1;
|
||||
ticks = 0;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
package techreborn.tiles.lesu;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import reborncore.api.power.EnumPowerTier;
|
||||
|
@ -9,6 +7,8 @@ import reborncore.common.powerSystem.TilePowerAcceptor;
|
|||
import reborncore.common.util.Inventory;
|
||||
import techreborn.config.ConfigTechReborn;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class TileLesu extends TilePowerAcceptor
|
||||
{// TODO wrench
|
||||
|
||||
|
@ -62,10 +62,10 @@ public class TileLesu extends TilePowerAcceptor
|
|||
}
|
||||
}
|
||||
}
|
||||
maxStorage = ((connectedBlocks + 1) * ConfigTechReborn.lesuStoragePerBlock);
|
||||
output = (connectedBlocks * ConfigTechReborn.extraOutputPerLesuBlock) + ConfigTechReborn.baseLesuOutput;
|
||||
maxStorage = ((connectedBlocks + 1) * ConfigTechReborn.LesuStoragePerBlock);
|
||||
output = (connectedBlocks * ConfigTechReborn.ExtraOutputPerLesuBlock) + ConfigTechReborn.BaseLesuOutput;
|
||||
|
||||
if (ticks == ConfigTechReborn.aveargeEuOutTickTime)
|
||||
if (ticks == ConfigTechReborn.AverageEuOutTickTime)
|
||||
{
|
||||
euChange = -1;
|
||||
ticks = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue