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
official aot
intermediary net/minecraft/class_3528
named net/minecraft/util/Lazy
  • Field Details

    • supplier

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

    • Lazy

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

    • get

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