Class LazyValue<T>

java.lang.Object
net.minecraft.util.LazyValue<T>

public class LazyValue<T> extends Object
  • Field Details

    • factory

      private Supplier<T> factory
    • value

      private T value
  • Constructor Details

    • LazyValue

      public LazyValue(Supplier<T> p_i48587_1_)
  • Method Details

    • get

      public T get()