Interface DynamicRegistryLoadEvents.RegistryEntryContext<T>
- All Superinterfaces:
DynamicRegistryLoadEvents.RegistryContext<T>
- All Known Implementing Classes:
DynamicRegistryLoadEvents.RegistryEntryContextImpl
- Enclosing class:
DynamicRegistryLoadEvents
public static interface DynamicRegistryLoadEvents.RegistryEntryContext<T>
extends DynamicRegistryLoadEvents.RegistryContext<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault <R> @Nullable DynamicRegistryLoadEvents.RegistryEntryContext<R> asKey(RegistryKey<? extends Registry<R>> key) entry()default <R> DynamicRegistryLoadEvents.RegistryEntryContext<R> Methods inherited from interface io.github.xrickastley.sevenelements.registry.dynamic.DynamicRegistryLoadEvents.RegistryContext
registry, registryKey
-
Method Details
-
entry
T entry() -
asKey
@Nullable default <R> @Nullable DynamicRegistryLoadEvents.RegistryEntryContext<R> asKey(RegistryKey<? extends Registry<R>> key) - Specified by:
asKeyin interfaceDynamicRegistryLoadEvents.RegistryContext<T>
-
withType
- Specified by:
withTypein interfaceDynamicRegistryLoadEvents.RegistryContext<T>
-