Class Lazy<T>

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

@Deprecated public class Lazy<T> extends Object
A class that lazily evaluates a value.
Mappings:
Namespace Name
named net/minecraft/util/Lazy
intermediary net/minecraft/class_3528
official ayt
  • Field Details

    • supplier

      private final Supplier<T> supplier
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named supplier Lnet/minecraft/util/Lazy;supplier:Ljava/util/function/Supplier;
      intermediary field_15719 Lnet/minecraft/class_3528;field_15719:Ljava/util/function/Supplier;
      official a Layt;a:Ljava/util/function/Supplier;
  • Constructor Details

    • Lazy

      public Lazy(Supplier<T> delegate)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/Lazy;<init>(Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_3528;<init>(Ljava/util/function/Supplier;)V
      official <init> Layt;<init>(Ljava/util/function/Supplier;)V
  • Method Details

    • get

      public T get()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/util/Lazy;get()Ljava/lang/Object;
      intermediary method_15332 Lnet/minecraft/class_3528;method_15332()Ljava/lang/Object;
      official a Layt;a()Ljava/lang/Object;