addTooltipForFluid(list, fluidStack.getFluid());
}
public static void addTooltipForFluid(List list, Fluid fluid) {
if(fluid != null) {
IFluidFuel fuel = FluidFuelRegister.instance.getFuel(fluid);
if(fuel != null) {
if(showAdvancedTooltips()) {
list.add(Lang.localize("fuel.tooltip.heading"));
list.add(EnumChatFormatting.ITALIC + " " + PowerDisplayUtil.formatPowerPerTick(fuel.getPowerPerCycle()));
list.add(EnumChatFormatting.ITALIC + " " + fuel.getTotalBurningTime() + " " + Lang.localize("fuel.tooltip.burnTime"));
} else {
addShowDetailsTooltip(list);
}
} else {
IFluidCoolant coolant = FluidFuelRegister.instance.getCoolant(fluid);