From 0f86d83e72154e5100db2775b1b227dcce8d2e13 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 21 Nov 2016 20:25:32 +0100 Subject: [PATCH] Make Item Repairer and Miner use a little less power (I guess?) --- .../actuallyadditions/mod/tile/TileEntityItemRepairer.java | 2 +- .../ellpeck/actuallyadditions/mod/tile/TileEntityMiner.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemRepairer.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemRepairer.java index 8532226ab..7f1dcb69c 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemRepairer.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemRepairer.java @@ -24,7 +24,7 @@ public class TileEntityItemRepairer extends TileEntityInventoryBase implements I public static final int SLOT_INPUT = 0; public static final int SLOT_OUTPUT = 1; - public static final int ENERGY_USE = 3500; + public static final int ENERGY_USE = 2500; public final EnergyStorage storage = new EnergyStorage(300000, 6000); public int nextRepairTick; private int lastEnergy; diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityMiner.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityMiner.java index 907ed6d78..3da74a0e2 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityMiner.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityMiner.java @@ -32,7 +32,7 @@ import java.util.List; public class TileEntityMiner extends TileEntityInventoryBase implements ICustomEnergyReceiver, IButtonReactor, IEnergyDisplay{ - public static final int ENERGY_USE_PER_BLOCK = 1500; + public static final int ENERGY_USE_PER_BLOCK = 650; public static final int DEFAULT_RANGE = 2; public final EnergyStorage storage = new EnergyStorage(200000, 2000); public int layerAt = -1; @@ -93,7 +93,7 @@ public class TileEntityMiner extends TileEntityInventoryBase implements ICustomE private boolean mine(int range){ for(int anX = -range; anX <= range; anX++){ for(int aZ = -range; aZ <= range; aZ++){ - int actualUse = ENERGY_USE_PER_BLOCK*(this.onlyMineOres ? 5 : 1); + int actualUse = ENERGY_USE_PER_BLOCK*(this.onlyMineOres ? 3 : 1); if(this.storage.getEnergyStored() >= actualUse){ BlockPos pos = new BlockPos(this.pos.getX()+anX, this.layerAt, this.pos.getZ()+aZ);