Package net.minecraft.server.function
Class CommandFunction.LazyContainer
java.lang.Object
net.minecraft.server.function.CommandFunction.LazyContainer
- Enclosing class:
CommandFunction
A lazy reference to another command function that may or may not exist.
Notice that such an instance does not refresh upon reloads and may become invalid.
- Mappings:
Namespace Name official dp$a
intermediary net/minecraft/class_2158$class_2159
named net/minecraft/server/function/CommandFunction$LazyContainer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CommandFunction.LazyContainer
private Optional<CommandFunction>
private final @Nullable Identifier
private boolean
-
Constructor Summary
ConstructorDescriptionLazyContainer
(CommandFunction function) LazyContainer
(@Nullable Identifier id) -
Method Summary
Modifier and TypeMethodDescriptionget
(CommandFunctionManager manager) @Nullable Identifier
getId()
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Ldp$a;a:Ldp$a;
intermediary field_9809
Lnet/minecraft/class_2158$class_2159;field_9809:Lnet/minecraft/class_2158$class_2159;
named EMPTY
Lnet/minecraft/server/function/CommandFunction$LazyContainer;EMPTY:Lnet/minecraft/server/function/CommandFunction$LazyContainer;
-
id
- Mappings:
Namespace Name Mixin selector official b
Ldp$a;b:Laew;
intermediary field_9807
Lnet/minecraft/class_2158$class_2159;field_9807:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/server/function/CommandFunction$LazyContainer;id:Lnet/minecraft/util/Identifier;
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector official c
Ldp$a;c:Z
intermediary field_9810
Lnet/minecraft/class_2158$class_2159;field_9810:Z
named initialized
Lnet/minecraft/server/function/CommandFunction$LazyContainer;initialized:Z
-
function
- Mappings:
Namespace Name Mixin selector official d
Ldp$a;d:Ljava/util/Optional;
intermediary field_9808
Lnet/minecraft/class_2158$class_2159;field_9808:Ljava/util/Optional;
named function
Lnet/minecraft/server/function/CommandFunction$LazyContainer;function:Ljava/util/Optional;
-
-
Constructor Details
-
LazyContainer
- Mappings:
Namespace Name Mixin selector official <init>
Ldp$a;<init>(Laew;)V
intermediary <init>
Lnet/minecraft/class_2158$class_2159;<init>(Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/server/function/CommandFunction$LazyContainer;<init>(Lnet/minecraft/util/Identifier;)V
-
LazyContainer
- Mappings:
Namespace Name Mixin selector official <init>
Ldp$a;<init>(Ldp;)V
intermediary <init>
Lnet/minecraft/class_2158$class_2159;<init>(Lnet/minecraft/class_2158;)V
named <init>
Lnet/minecraft/server/function/CommandFunction$LazyContainer;<init>(Lnet/minecraft/server/function/CommandFunction;)V
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector official a
Ldp$a;a(Lafk;)Ljava/util/Optional;
intermediary method_9196
Lnet/minecraft/class_2158$class_2159;method_9196(Lnet/minecraft/class_2991;)Ljava/util/Optional;
named get
Lnet/minecraft/server/function/CommandFunction$LazyContainer;get(Lnet/minecraft/server/function/CommandFunctionManager;)Ljava/util/Optional;
-
getId
- Mappings:
Namespace Name Mixin selector official a
Ldp$a;a()Laew;
intermediary method_9197
Lnet/minecraft/class_2158$class_2159;method_9197()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/server/function/CommandFunction$LazyContainer;getId()Lnet/minecraft/util/Identifier;
-