use of gregtech.api.capability.impl.EnergyContainerList in project GregTech by GregTechCE.
the class RecipeMapMultiblockController method resetTileAbilities.
private void resetTileAbilities() {
this.inputInventory = new ItemStackHandler(0);
this.inputFluidInventory = new FluidTankList(true);
this.outputInventory = new ItemStackHandler(0);
this.outputFluidInventory = new FluidTankList(true);
this.energyContainer = new EnergyContainerList(Lists.newArrayList());
}
use of gregtech.api.capability.impl.EnergyContainerList in project GregTech by GregTechCE.
the class FueledMultiblockController method initializeAbilities.
private void initializeAbilities() {
this.importFluidHandler = new FluidTankList(true, getAbilities(MultiblockAbility.IMPORT_FLUIDS));
this.energyContainer = new EnergyContainerList(getAbilities(MultiblockAbility.OUTPUT_ENERGY));
}
use of gregtech.api.capability.impl.EnergyContainerList in project GregTech by GregTechCE.
the class RecipeMapMultiblockController method initializeAbilities.
private void initializeAbilities() {
this.inputInventory = new ItemHandlerList(getAbilities(MultiblockAbility.IMPORT_ITEMS));
this.inputFluidInventory = new FluidTankList(allowSameFluidFillForOutputs(), getAbilities(MultiblockAbility.IMPORT_FLUIDS));
this.outputInventory = new ItemHandlerList(getAbilities(MultiblockAbility.EXPORT_ITEMS));
this.outputFluidInventory = new FluidTankList(allowSameFluidFillForOutputs(), getAbilities(MultiblockAbility.EXPORT_FLUIDS));
this.energyContainer = new EnergyContainerList(getAbilities(MultiblockAbility.INPUT_ENERGY));
}
Aggregations