}
@Override
@Optional.Method(modid = "CoFHLib")
public int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate) {
TileEntity tile = getTile();
return tile instanceof IEnergyHandler ? ((IEnergyHandler) tile).extractEnergy(from, maxExtract, simulate) : 0;
}