mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 23:13:21 +00:00
New vat model, new fuels and stuff.
This commit is contained in:
1 parent
5bd512a219
commit
df3c785493
35 files changed
+443
-75
No files matched your search
@@ -1,24 +1,28 @@
|
||||
package crazypants.enderio.fluid;
|
||||
|
||||
import crazypants.util.Lang;
|
||||
import net.minecraftforge.fluids.IFluidTank;
|
||||
import crazypants.util.Lang;
|
||||
|
||||
public class Fluids {
|
||||
|
||||
public static final String NUTRIENT_DISTILLATION_NAME = "nutrient_distillation";
|
||||
|
||||
public static final String HOOTCH_NAME = "hootch";
|
||||
|
||||
|
||||
public static final String ROCKET_FUEL_NAME = "rocket_fuel";
|
||||
|
||||
public static final String FIRE_WATER_NAME = "fire_water";
|
||||
|
||||
public static String toCapactityString(IFluidTank tank) {
|
||||
if(tank == null) {
|
||||
return "0/0 " + MB();
|
||||
}
|
||||
return "0/0 " + MB();
|
||||
}
|
||||
return tank.getFluidAmount() + "/" + tank.getCapacity() + " " + MB();
|
||||
}
|
||||
|
||||
|
||||
public static String MB() {
|
||||
return Lang.localize("fluid.millibucket.abr");
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user