Interface DynamicRegistryLoadEvents.RegistryContext<T>
- All Known Subinterfaces:
DynamicRegistryLoadEvents.RegistryEntryContext<T>
- All Known Implementing Classes:
DynamicRegistryLoadEvents.RegistryContextImpl,DynamicRegistryLoadEvents.RegistryEntryContextImpl
- Enclosing class:
- DynamicRegistryLoadEvents
public static interface DynamicRegistryLoadEvents.RegistryContext<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault <R> @Nullable DynamicRegistryLoadEvents.RegistryContext<R>asKey(RegistryKey<? extends Registry<R>> key) registry()RegistryKey<? extends Registry<T>>default <R> DynamicRegistryLoadEvents.RegistryContext<R>
-
Method Details
-
registryKey
RegistryKey<? extends Registry<T>> registryKey() -
registry
-
asKey
@Nullable default <R> @Nullable DynamicRegistryLoadEvents.RegistryContext<R> asKey(RegistryKey<? extends Registry<R>> key) -
withType
-