use of mekanism.common.capabilities.holder.energy.EnergyContainerHelper in project Mekanism by mekanism.
the class TileEntityElectricPump method getInitialEnergyContainers.
@Nonnull
@Override
protected IEnergyContainerHolder getInitialEnergyContainers() {
EnergyContainerHelper builder = EnergyContainerHelper.forSide(this::getDirection);
builder.addContainer(energyContainer = MachineEnergyContainer.input(this), RelativeSide.BACK);
return builder.build();
}
use of mekanism.common.capabilities.holder.energy.EnergyContainerHelper in project Mekanism by mekanism.
the class TileEntityChemicalOxidizer method getInitialEnergyContainers.
@Nonnull
@Override
protected IEnergyContainerHolder getInitialEnergyContainers() {
EnergyContainerHelper builder = EnergyContainerHelper.forSideWithConfig(this::getDirection, this::getConfig);
builder.addContainer(energyContainer = MachineEnergyContainer.input(this));
return builder.build();
}
use of mekanism.common.capabilities.holder.energy.EnergyContainerHelper in project Mekanism by mekanism.
the class TileEntityChemicalWasher method getInitialEnergyContainers.
@Nonnull
@Override
protected IEnergyContainerHolder getInitialEnergyContainers() {
EnergyContainerHelper builder = EnergyContainerHelper.forSideWithConfig(this::getDirection, this::getConfig);
builder.addContainer(energyContainer = MachineEnergyContainer.input(this));
return builder.build();
}
use of mekanism.common.capabilities.holder.energy.EnergyContainerHelper in project Mekanism by mekanism.
the class TileEntityCombiner method getInitialEnergyContainers.
@Nonnull
@Override
protected IEnergyContainerHolder getInitialEnergyContainers() {
EnergyContainerHelper builder = EnergyContainerHelper.forSideWithConfig(this::getDirection, this::getConfig);
builder.addContainer(energyContainer = MachineEnergyContainer.input(this));
return builder.build();
}
use of mekanism.common.capabilities.holder.energy.EnergyContainerHelper in project Mekanism by mekanism.
the class TileEntityChemicalCrystallizer method getInitialEnergyContainers.
@Nonnull
@Override
protected IEnergyContainerHolder getInitialEnergyContainers() {
EnergyContainerHelper builder = EnergyContainerHelper.forSideWithConfig(this::getDirection, this::getConfig);
builder.addContainer(energyContainer = MachineEnergyContainer.input(this));
return builder.build();
}
Aggregations