More fixes for unused configs
This commit is contained in:
parent
35e4675c6d
commit
0845b923b5
4 changed files with 3 additions and 9 deletions
|
@ -334,7 +334,7 @@ public class FusionControlComputerBlockEntity extends PowerAcceptorBlockEntity
|
|||
if (!hasStartedCrafting) {
|
||||
return 0;
|
||||
}
|
||||
return Integer.MAX_VALUE;
|
||||
return TechRebornConfig.fusionControlComputerMaxOutput;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -39,7 +39,7 @@ import techreborn.init.TRContent;
|
|||
public class SoildCanningMachineBlockEntity extends GenericMachineBlockEntity implements IContainerProvider {
|
||||
|
||||
public SoildCanningMachineBlockEntity() {
|
||||
super(TRBlockEntities.SOLID_CANNING_MACHINE, "SolidCanningMachine", TechRebornConfig.solidCanningMachineMaxInput, TechRebornConfig.solidFuelGeneratorMaxEnergy, TRContent.Machine.SOLID_CANNING_MACHINE.block, 3);
|
||||
super(TRBlockEntities.SOLID_CANNING_MACHINE, "SolidCanningMachine", TechRebornConfig.solidCanningMachineMaxInput, TechRebornConfig.solidCanningMachineMaxEnergy, TRContent.Machine.SOLID_CANNING_MACHINE.block, 3);
|
||||
final int[] inputs = new int[] { 0, 1 };
|
||||
final int[] outputs = new int[] { 2 };
|
||||
this.inventory = new RebornInventory<>(4, "SolidCanningMachineBlockEntity", 64, this);
|
||||
|
|
|
@ -309,12 +309,6 @@ public class TechRebornConfig {
|
|||
|
||||
|
||||
// Machines
|
||||
@Config(config = "machines", category = "grinder", key = "GrinderInput", comment = "Grinder Max Input (Value in EU)")
|
||||
public static int grinderMaxInput = 32;
|
||||
|
||||
@Config(config = "machines", category = "grinder", key = "GrinderMaxEnergy", comment = "Grinder Max Energy (Value in EU)")
|
||||
public static int grinderMaxEnergy = 1_000;
|
||||
|
||||
@Config(config = "machines", category = "lesu", key = "LesuMaxEnergyPerBlock", comment = "LESU Max Energy Per Block")
|
||||
public static int lesuStoragePerBlock = 1_000_000;
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ public class WorldGenerator {
|
|||
addOre(biome, OreFeatureConfig.Target.NETHERRACK, TRContent.Ores.SPHALERITE);
|
||||
}
|
||||
} else if (biome.getCategory() == Category.THEEND) {
|
||||
if (TechRebornConfig.enableSphaleriteOre){
|
||||
if (TechRebornConfig.enablePeridotOre){
|
||||
addEndOre(biome, TRContent.Ores.PERIDOT);
|
||||
}
|
||||
if (TechRebornConfig.enableSheldoniteOre){
|
||||
|
|
Loading…
Reference in a new issue