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, valueOf
addCoolant
public 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 ICoolantManager
public ISolidCoolant addSolidCoolant(ISolidCoolant solidCoolant)
addSolidCoolant
in interface ICoolantManager
public ICoolant addCoolant(net.minecraftforge.fluids.FluidStack fluid, float degreesCoolingPerMB)
addCoolant
in interface ICoolantManager
public ISolidCoolant addSolidCoolant(net.minecraft.item.ItemStack solid, net.minecraftforge.fluids.FluidStack fluid, float multiplier)
addSolidCoolant
in interface ICoolantManager
public java.util.Collection<ICoolant> getCoolants()
getCoolants
in interface ICoolantManager
public java.util.Collection<ISolidCoolant> getSolidCoolants()
getSolidCoolants
in interface ICoolantManager
public ICoolant getCoolant(net.minecraftforge.fluids.FluidStack fluid)
getCoolant
in interface ICoolantManager
public float getDegreesPerMb(net.minecraftforge.fluids.FluidStack fluid, float heat)
getDegreesPerMb
in interface ICoolantManager
public ISolidCoolant getSolidCoolant(net.minecraft.item.ItemStack solid)
getSolidCoolant
in interface ICoolantManager