Class Lazy<T>

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

public class Lazy<T>
extends Object
  • Field Details

    • supplier

      private Supplier<T> supplier
    • value

      private T value
  • Constructor Details

    • Lazy

      public Lazy​(Supplier<T> delegate)
  • Method Details

    • get

      public T get()