Interface RegistrySupplier<T>
- All Superinterfaces:
Supplier<T>
A handle to a registered object. On NeoForge this wraps a
DeferredHolder; on Fabric the
value is registered eagerly and held directly. Either way Supplier.get() returns the registered
value, so common code can use the same access pattern on both loaders.-
Method Summary
-
Method Details
-
getId
net.minecraft.resources.ResourceLocation getId()
-