mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 05:02:25 +00:00
- Added Generators - Added Fluids - made grindingBalls seperate Items - Added solar Panel 3
30 lines
1.0 KiB
Java
30 lines
1.0 KiB
Java
package crazypants.enderio.fluid;
|
|
|
|
import crazypants.enderio.EnderIO;
|
|
import net.minecraftforge.fluids.IFluidTank;
|
|
|
|
public class Fluids {
|
|
|
|
public static final String NUTRIENT_DISTILLATION = "nutrient_distillation";
|
|
public static final String HOOTCH = "hootch";
|
|
public static final String ROCKET_FUEL = "rocket_fuel";
|
|
public static final String FIRE_WATER = "fire_water";
|
|
public static final String LIQUID_SUNSHINE = "liquid_sunshine";
|
|
public static final String CLOUD_SEED = "cloud_seed";
|
|
public static final String CLOUD_SEED_CONCENTRATED = "cloud_seed_concentrated";
|
|
public static final String ENDER_DISTILLATION = "ender_distillation";
|
|
public static final String VAPOR_OF_LEVITY = "vapor_of_levity";
|
|
|
|
public static String toCapactityString(IFluidTank tank) {
|
|
if(tank == null) {
|
|
return "0/0 " + MB();
|
|
}
|
|
return tank.getFluidAmount() + "/" + tank.getCapacity() + " " + MB();
|
|
}
|
|
|
|
public static String MB() {
|
|
return EnderIO.lang.localize("fluid.millibucket.abr");
|
|
}
|
|
|
|
}
|