Interface RegistryAccess
@NonExtendable
public interface RegistryAccess
Access to every registry.
-
Method Summary
Modifier and TypeMethodDescriptionfind(@NotNull net.kyori.adventure.key.Key registryKey) <T extends net.kyori.adventure.key.Keyed>
@NotNull Registry<T> registry(@NotNull RegistryType<T> type) @NotNull Collection<RegistryType<?>> types()
-
Method Details
-
registry
@NotNull <T extends net.kyori.adventure.key.Keyed> @NotNull Registry<T> registry(@NotNull @NotNull RegistryType<T> type) - Throws:
IllegalArgumentException- if no such registry exists
-
find
-
types
-