Class LazyRegistryReference<T>

java.lang.Object
net.xun.lib.common.api.registries.LazyRegistryReference<T>
Type Parameters:
T - Type of the thing
All Implemented Interfaces:
Supplier<T>
Direct Known Subclasses:
LazyItemReference

public class LazyRegistryReference<T> extends Object implements Supplier<T>
Unstable API
  • Constructor Details

    • LazyRegistryReference

      public LazyRegistryReference(String name, Supplier<T> supplier)
  • Method Details

    • get

      public T get()
      Specified by:
      get in interface Supplier<T>
    • getName

      public String getName()