Increase Entangleporter frequency to be able to store as much as ultimate tiers can transmit.
@@ -8,6 +8,7 @@ import java.util.UUID;
import mekanism.api.gas.GasStack;
import mekanism.api.gas.GasTank;
import mekanism.common.PacketHandler;
+import mekanism.common.Tier;
import mekanism.common.frequency.Frequency;
import mekanism.common.util.InventoryUtils;
import net.minecraft.item.ItemStack;
@@ -23,7 +24,9 @@ public class InventoryFrequency extends Frequency
{
public static final String ENTANGLOPORTER = "Entangloporter";
- public static final double MAX_ENERGY = 1000000;
+ public static final double MAX_ENERGY = Tier.EnergyCubeTier.ULTIMATE.output;
+ public static final int FLUID_TANK_SIZE = Tier.FluidTankTier.ULTIMATE.output;
+ public static final int GAS_TANK_SIZE = Tier.GasTankTier.ULTIMATE.output;
public double storedEnergy;
public FluidTank storedFluid;
@@ -35,8 +38,8 @@ public class InventoryFrequency extends Frequency
{
super(n, uuid);
- storedFluid = new FluidTank(1000);
- storedGas = new GasTank(1000);
+ storedFluid = new FluidTank(FLUID_TANK_SIZE);
+ storedGas = new GasTank(GAS_TANK_SIZE);
}
public InventoryFrequency(NBTTagCompound nbtTags)
@@ -89,8 +92,8 @@ public class InventoryFrequency extends Frequency
{
super.read(nbtTags);
- storedFluid = new FluidTank(1000);
- storedGas = new GasTank(1000);
+ storedFluid = new FluidTank(FLUID_TANK_SIZE);
+ storedGas = new GasTank(GAS_TANK_SIZE);
storedEnergy = nbtTags.getDouble("storedEnergy");
@@ -156,8 +159,8 @@ public class InventoryFrequency extends Frequency
{
super.read(dataStream);
- storedFluid = new FluidTank(1000);
- storedGas = new GasTank(1000);
+ storedFluid = new FluidTank(FLUID_TANK_SIZE);
+ storedGas = new GasTank(GAS_TANK_SIZE);
storedEnergy = dataStream.readDouble();
