Class RegistryManager

java.lang.Object
com.pixelmonmod.api.registry.RegistryManager

public class RegistryManager extends Object
  • Constructor Details

    • RegistryManager

      public RegistryManager()
  • Method Details

    • getRegistry

      protected static <T> RegistryManager.Registry<T> getRegistry(Class<?> type)
    • register

      public static <T> void register(String key, T value)
    • register

      public static <T> void register(String key, T value, Class<T> clazz)
    • getRegistryValue

      public static <T> RegistryValue<T> getRegistryValue(T value)
    • getAllValues

      public static <T> List<T> getAllValues(Class<T> type)
    • getAllKeys

      public static List<String> getAllKeys(Class<?> type)
    • invalidateRegistry

      public static void invalidateRegistry(Class<?> type)
    • invalidateAll

      public static void invalidateAll()