Made the Miner use more power again because people were complaining.

Again.
This commit is contained in:
Ellpeck 2016-07-25 14:18:05 +02:00
parent 0a5c306f30
commit 2a5e2787bb

View file

@ -37,7 +37,7 @@ import java.util.List;
public class TileEntityMiner extends TileEntityInventoryBase implements IEnergyReceiver, IButtonReactor, IEnergyDisplay{
public static final int ENERGY_USE_PER_BLOCK = 1000;
public static final int ENERGY_USE_PER_BLOCK = 1500;
public static final int DEFAULT_RANGE = 2;
public final EnergyStorage storage = new EnergyStorage(200000);
public int layerAt = -1;
@ -98,7 +98,7 @@ public class TileEntityMiner extends TileEntityInventoryBase implements IEnergyR
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 ? 3 : 1);
int actualUse = ENERGY_USE_PER_BLOCK*(this.onlyMineOres ? 5 : 1);
if(this.storage.getEnergyStored() >= actualUse){
BlockPos pos = new BlockPos(this.pos.getX()+anX, this.layerAt, this.pos.getZ()+aZ);