Class RegistryAccessMock
java.lang.Object
be.seeseemelk.mockbukkit.registry.RegistryAccessMock
- All Implemented Interfaces:
io.papermc.paper.registry.RegistryAccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends org.bukkit.Keyed>
@NotNull org.bukkit.Registry<T> getRegistry(@NotNull io.papermc.paper.registry.RegistryKey<T> registryKey) <T extends org.bukkit.Keyed>
@Nullable org.bukkit.Registry<T> 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 org.bukkit.Keyed> @Nullable org.bukkit.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 interfaceio.papermc.paper.registry.RegistryAccess
-
getRegistry
@NotNull public <T extends org.bukkit.Keyed> @NotNull org.bukkit.Registry<T> getRegistry(@NotNull @NotNull io.papermc.paper.registry.RegistryKey<T> registryKey) - Specified by:
getRegistryin interfaceio.papermc.paper.registry.RegistryAccess
-