java.lang.Object
com.riverstone.unknown303.errorlib.api.helpers.ErrorLibHelper
com.riverstone.unknown303.errorlib.api.helpers.registry.RegistryHelper

public class RegistryHelper extends ErrorLibHelper
  • Constructor Details

    • RegistryHelper

      public RegistryHelper(ModInfo modInfo)
  • Method Details

    • createRegistry

      public <T> net.minecraftforge.registries.IForgeRegistry<T> createRegistry(String registryId, Supplier<T> sup)
    • getValidRegistrations

      public <T> List<T> getValidRegistrations(net.minecraftforge.registries.IForgeRegistry<T> reg, Supplier<T> sup)
    • getRegistration

      public <T> T getRegistration(net.minecraftforge.registries.IForgeRegistry<T> reg, String registryId, Supplier<T> sup)