Package io.papermc.paper.registry.holder
Interface RegistryHolder.Inlined<API,ENTRY>
- Type Parameters:
API
- the registry's typeENTRY
- the type of the registry entry
- All Superinterfaces:
RegistryHolder<API,
ENTRY>
- Enclosing interface:
RegistryHolder<API,
ENTRY>
@NonExtendable
public static non-sealed interface RegistryHolder.Inlined<API,ENTRY>
extends RegistryHolder<API,ENTRY>
A holder that contains an inlined registry entry, an anonymous value (does not have a key).
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.papermc.paper.registry.holder.RegistryHolder
RegistryHolder.Inlined<API,
ENTRY>, RegistryHolder.Reference<API, ENTRY> -
Method Summary
-
Method Details
-
entry
ENTRY entry()The inlined entry.- Returns:
- the inlined entry
-