T
- the type of thing we're holding ontopublic interface IRegistryDelegate<T>
extends java.util.function.Supplier<T>
Modifier and Type | Method and Description |
---|---|
T |
get()
Get the referent pointed at by this delegate.
|
ResourceLocation |
name()
Get the unique resource location for this delegate.
|
java.lang.Class<T> |
type()
Get the delegate type.
|
T get()
get
in interface java.util.function.Supplier<T>
ResourceLocation name()
java.lang.Class<T> type()