Package net.minecraft.util
Class Lazy<T>
java.lang.Object
net.minecraft.util.Lazy<T>
Deprecated.
A class that lazily evaluates a value.
- Mappings:
Namespace Name named net/minecraft/util/Lazy
intermediary net/minecraft/class_3528
official ayt
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
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
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
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;
-
Suppliers.memoize(com.google.common.base.Supplier<T>)
instead.