mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-26 13:09:22 +01:00
Made the Miner use more power again because people were complaining.
Again.
This commit is contained in:
parent
0a5c306f30
commit
2a5e2787bb
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue