private static class FluidRegistry.FluidDelegate extends java.lang.Object implements IRegistryDelegate<Fluid>
Modifier and Type | Field and Description |
---|---|
private Fluid |
fluid |
private java.lang.String |
name |
Constructor and Description |
---|
FluidDelegate(Fluid fluid,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
Fluid |
get()
Get the referent pointed at by this delegate.
|
ResourceLocation |
name()
Get the unique resource location for this delegate.
|
(package private) void |
rebind() |
java.lang.Class<Fluid> |
type()
Get the delegate type.
|
private java.lang.String name
private Fluid fluid
FluidDelegate(Fluid fluid, java.lang.String name)
public Fluid get()
IRegistryDelegate
get
in interface IRegistryDelegate<Fluid>
public ResourceLocation name()
IRegistryDelegate
name
in interface IRegistryDelegate<Fluid>
public java.lang.Class<Fluid> type()
IRegistryDelegate
type
in interface IRegistryDelegate<Fluid>
void rebind()