More refactoring for tier1 machines.

This commit is contained in:
drcrazy 2018-04-02 16:58:03 +03:00
parent 80e36f0427
commit 54ee781bc7
13 changed files with 59 additions and 475 deletions

View file

@ -50,6 +50,13 @@ public abstract class TileGenericMachine extends TilePowerAcceptor
public Inventory inventory;
public RecipeCrafter crafter;
/**
* @param name String Name for a tile. Do we need it at all?
* @param maxInput int Maximum energy input, value in EU
* @param maxEnergy int Maximum energy buffer, value in EU
* @param toolDrop Block Block to drop with wrench
* @param energySlot int Energy slot to use to charge machine from battery
*/
public TileGenericMachine(String name, int maxInput, int maxEnergy, Block toolDrop, int energySlot) {
this.name = "Tile" + name;
this.maxInput = maxInput;
@ -116,8 +123,4 @@ public abstract class TileGenericMachine extends TilePowerAcceptor
public RecipeCrafter getRecipeCrafter() {
return crafter;
}
}