mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 23:03:18 +00:00
Cleanup MachineFabricator
This commit is contained in:
1 parent
09acd8e778
commit
98925d7927
1 file changed
+1
-11
@@ -27,9 +27,6 @@ import net.minecraftforge.fluids.Fluid;
|
||||
import net.minecraftforge.fluids.FluidRegistry;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
|
||||
import buildcraft.api.power.PowerHandler;
|
||||
|
||||
import cofh.api.energy.EnergyStorage;
|
||||
import forestry.api.core.ForestryAPI;
|
||||
import forestry.api.core.ISpecialInventory;
|
||||
import forestry.api.recipes.IFabricatorManager;
|
||||
@@ -239,26 +236,19 @@ public class MachineFabricator extends TilePowered implements ICrafter, ISpecial
|
||||
private final TankManager tankManager;
|
||||
private FilteredTank moltenTank;
|
||||
private final InventoryAdapter inventory = new InventoryAdapter(30, "Items");
|
||||
private final int moltenTankIndex;
|
||||
private int heat = 0;
|
||||
private int guiMeltingPoint = 0;
|
||||
|
||||
private FluidStack pendingSmelt;
|
||||
|
||||
public MachineFabricator() {
|
||||
energyStorage = new EnergyStorage(3300);
|
||||
super(3300, 50, 1100);
|
||||
Fluid liquidGlass = FluidRegistry.getFluid(Defaults.LIQUID_GLASS);
|
||||
moltenTank = new FilteredTank(2 * Defaults.BUCKET_VOLUME, liquidGlass);
|
||||
moltenTank.tankMode = StandardTank.TankMode.INTERNAL;
|
||||
tankManager = new TankManager(moltenTank);
|
||||
moltenTankIndex = moltenTank.getTankIndex();
|
||||
}
|
||||
|
||||
/*@Override //TODO
|
||||
protected void configurePowerProvider(PowerHandler provider) {
|
||||
provider.configure(50, 110, 5, 330);
|
||||
}*/
|
||||
|
||||
@Override
|
||||
public String getInventoryName() {
|
||||
return getUnlocalizedName();
|
||||
|
||||
Reference in new issue
Block a user