public class FluidGroupRegistry
extends java.lang.Object
| Constructor and Description |
|---|
FluidGroupRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static FluidGroup |
getFluidGroupById(java.lang.String fluidGroupId)
Finds the fluid group that corresponds to the given fluid group id.
|
static java.util.Iterator<FluidGroup> |
iterator() |
static void |
registerFluidGroup(FluidGroup fluidGroup)
Registers a new fluid group to the registry.
|
static void |
registerFluidGroupList(java.util.List<FluidGroup> fluidGroups)
Registers a whole list of fluid groups to the registry.
|
public static FluidGroup getFluidGroupById(java.lang.String fluidGroupId)
fluidGroupId - Returns the fluid group, or null in case no fluid group was foundpublic static void registerFluidGroup(FluidGroup fluidGroup)
fluidGroup - fluid group to be registered.public static void registerFluidGroupList(java.util.List<FluidGroup> fluidGroups)
fluidGroups - list of fluid groups to be registered.public static java.util.Iterator<FluidGroup> iterator()