public enum CoolantRegistry extends java.lang.Enum<CoolantRegistry> implements ICoolantManager
| Modifier and Type | Class and Description |
|---|---|
static class |
CoolantRegistry.Coolant |
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ICoolant |
addCoolant(net.minecraftforge.fluids.FluidStack fluid,
float degreesCoolingPerMB) |
ICoolant |
addCoolant(ICoolant coolant) |
ISolidCoolant |
addSolidCoolant(ISolidCoolant solidCoolant) |
ISolidCoolant |
addSolidCoolant(net.minecraft.item.ItemStack solid,
net.minecraftforge.fluids.FluidStack fluid,
float multiplier) |
ICoolant |
getCoolant(net.minecraftforge.fluids.FluidStack fluid) |
java.util.Collection<ICoolant> |
getCoolants() |
float |
getDegreesPerMb(net.minecraftforge.fluids.FluidStack fluid,
float heat) |
ISolidCoolant |
getSolidCoolant(net.minecraft.item.ItemStack solid) |
java.util.Collection<ISolidCoolant> |
getSolidCoolants() |
static CoolantRegistry |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CoolantRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfaddCoolantpublic static final CoolantRegistry INSTANCE
public static CoolantRegistry[] values()
for (CoolantRegistry c : CoolantRegistry.values()) System.out.println(c);
public static CoolantRegistry valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic ICoolant addCoolant(ICoolant coolant)
addCoolant in interface ICoolantManagerpublic ISolidCoolant addSolidCoolant(ISolidCoolant solidCoolant)
addSolidCoolant in interface ICoolantManagerpublic ICoolant addCoolant(net.minecraftforge.fluids.FluidStack fluid, float degreesCoolingPerMB)
addCoolant in interface ICoolantManagerpublic ISolidCoolant addSolidCoolant(net.minecraft.item.ItemStack solid, net.minecraftforge.fluids.FluidStack fluid, float multiplier)
addSolidCoolant in interface ICoolantManagerpublic java.util.Collection<ICoolant> getCoolants()
getCoolants in interface ICoolantManagerpublic java.util.Collection<ISolidCoolant> getSolidCoolants()
getSolidCoolants in interface ICoolantManagerpublic ICoolant getCoolant(net.minecraftforge.fluids.FluidStack fluid)
getCoolant in interface ICoolantManagerpublic float getDegreesPerMb(net.minecraftforge.fluids.FluidStack fluid,
float heat)
getDegreesPerMb in interface ICoolantManagerpublic ISolidCoolant getSolidCoolant(net.minecraft.item.ItemStack solid)
getSolidCoolant in interface ICoolantManager