Interface RegistryCollector
public interface RegistryCollector
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<T> voidaddCustom(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey, Consumer<RegistryCollector.Custom<T>> register) <T> voidaddRegistry(RegistryWrapper<T> wrapper, net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey, boolean sync) <T> voidaddRegistryHolder(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)
-