Class RegistryAccessMock

java.lang.Object
be.seeseemelk.mockbukkit.registry.RegistryAccessMock
All Implemented Interfaces:
io.papermc.paper.registry.RegistryAccess

public class RegistryAccessMock extends Object implements io.papermc.paper.registry.RegistryAccess
  • Constructor Details

    • RegistryAccessMock

      public RegistryAccessMock()
  • Method Details

    • getRegistry

      @Nullable public <T extends org.bukkit.Keyed> @Nullable org.bukkit.Registry<T> getRegistry(@NotNull @NotNull Class<T> type)
      Specified by:
      getRegistry in interface io.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:
      getRegistry in interface io.papermc.paper.registry.RegistryAccess