use of net.roguelogix.biggerreactors.machine.tiles.impl.CyaniteReprocessorItemHandler in project BiggerReactors by BiggerSeries.
the class CyaniteReprocessorTile method clearContent.
/**
* Clears all data and inventory for this tile.
*/
@Override
public void clearContent() {
// Reset work.
this.workHandler = new WorkHandler(Config.CONFIG.CyaniteReprocessor.TotalWorkTime);
// Reset items.
this.itemHandler = new CyaniteReprocessorItemHandler();
this.itemHandler.setSize(2);
// Reset energy.
this.energyStorage = new EnergyStorage(Config.CONFIG.CyaniteReprocessor.EnergyTankCapacity);
// Reset fluids.
this.fluidTank = new FluidTank(Config.CONFIG.CyaniteReprocessor.WaterTankCapacity, fluid -> fluid.getFluid() == Fluids.WATER);
}
Aggregations