use of gregtech.api.capability.impl.FluidTankList 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.FluidTankList in project GregTech by GregTechCE.
the class SimpleMachineMetaTileEntity method initializeInventory.
@Override
protected void initializeInventory() {
super.initializeInventory();
this.outputItemInventory = new ItemHandlerProxy(new ItemStackHandler(0), exportItems);
this.outputFluidInventory = new FluidHandlerProxy(new FluidTankList(false), exportFluids);
}
use of gregtech.api.capability.impl.FluidTankList 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