Interface RegistryCollector


public interface RegistryCollector
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> void
    addCustom(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey, Consumer<RegistryCollector.Custom<T>> register)
     
    <T> void
    addRegistry(RegistryWrapper<T> wrapper, net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey, boolean sync)
     
    <T> void
    addRegistryHolder(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey, Class<?> holder)
     
  • Method Details

    • addRegistryHolder

      <T> void addRegistryHolder(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey, Class<?> holder)
    • addRegistry

      <T> void addRegistry(RegistryWrapper<T> wrapper, net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey, boolean sync)
    • addCustom

      <T> void addCustom(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey, Consumer<RegistryCollector.Custom<T>> register)