Class DeferredRegister<T>
java.lang.Object
dev.architectury.registry.registries.DeferredRegister<T>
- All Implemented Interfaces:
Iterable<RegistrySupplier<T>>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> DeferredRegister<T>
iterator()
void
register()
<R extends T>
RegistrySupplier<R><R extends T>
RegistrySupplier<R>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
create
public static <T> DeferredRegister<T> create(String modId, net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key) -
register
-
register
public <R extends T> RegistrySupplier<R> register(net.minecraft.resources.ResourceLocation id, Supplier<? extends R> supplier) -
register
public void register() -
iterator
-
getRegistrarManager
-
getRegistrar
-