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 official aov
intermediary net/minecraft/class_3528
named net/minecraft/util/Lazy
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
supplier
Deprecated.- Mappings:
Namespace Name Mixin selector official a
Laov;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
Deprecated.- Mappings:
Namespace Name Mixin selector official <init>
Laov;<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
Deprecated.- Mappings:
Namespace Name Mixin selector official a
Laov;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;
-
Suppliers.memoize(com.google.common.base.Supplier<T>)
instead.