Class DeferredRegister.RegistryHolder<V>

java.lang.Object
net.minecraftforge.registries.DeferredRegister.RegistryHolder<V>
All Implemented Interfaces:
Supplier<IForgeRegistry<V>>
Enclosing class:
DeferredRegister<T>

@Deprecated(forRemoval=true, since="1.20.2") private static class DeferredRegister.RegistryHolder<V> extends Object implements Supplier<IForgeRegistry<V>>
Deprecated, for removal: This API element is subject to removal in a future version.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private IForgeRegistry<V>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    private final ResourceKey<? extends Registry<V>>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    RegistryHolder(ResourceKey<? extends Registry<V>> registryKey)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • registryKey

      private final ResourceKey<? extends Registry<V>> registryKey
      Deprecated, for removal: This API element is subject to removal in a future version.
    • registry

      private IForgeRegistry<V> registry
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • RegistryHolder

      private RegistryHolder(ResourceKey<? extends Registry<V>> registryKey)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • get

      public IForgeRegistry<V> get()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      get in interface Supplier<V>