Class RegistryAccessMock
java.lang.Object
be.seeseemelk.mockbukkit.registry.RegistryAccessMock
- All Implemented Interfaces:
RegistryAccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRegistry(@NotNull RegistryKey<T> registryKey) getRegistry(@NotNull Class<T> type) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
RegistryAccessMock
public RegistryAccessMock()
-
-
Method Details
-
getRegistry
@Deprecated(forRemoval=true, since="1.20.6") @Nullable public <T extends Keyed> @Nullable Registry<T> getRegistry(@NotNull @NotNull Class<T> type) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRegistryin interfaceRegistryAccess
-
getRegistry
@NotNull public <T extends Keyed> @NotNull Registry<T> getRegistry(@NotNull @NotNull RegistryKey<T> registryKey) - Specified by:
getRegistryin interfaceRegistryAccess
-