Package net.minecraft.server.function
Class LazyContainer
java.lang.Object
net.minecraft.server.function.LazyContainer
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 named net/minecraft/server/function/LazyContainer
intermediary net/minecraft/class_2159
official eo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<LazyContainer> private Optional
<CommandFunction<ServerCommandSource>> private final Identifier
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
get
(CommandFunctionManager commandFunctionManager) getId()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/server/function/LazyContainer;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_47409
Lnet/minecraft/class_2159;field_47409:Lcom/mojang/serialization/Codec;
official a
Leo;a:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/server/function/LazyContainer;id:Lnet/minecraft/util/Identifier;
intermediary field_9807
Lnet/minecraft/class_2159;field_9807:Lnet/minecraft/class_2960;
official b
Leo;b:Lakr;
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector named initialized
Lnet/minecraft/server/function/LazyContainer;initialized:Z
intermediary field_9810
Lnet/minecraft/class_2159;field_9810:Z
official c
Leo;c:Z
-
function
- Mappings:
Namespace Name Mixin selector named function
Lnet/minecraft/server/function/LazyContainer;function:Ljava/util/Optional;
intermediary field_9808
Lnet/minecraft/class_2159;field_9808:Ljava/util/Optional;
official d
Leo;d:Ljava/util/Optional;
-
-
Constructor Details
-
LazyContainer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/function/LazyContainer;<init>(Lnet/minecraft/util/Identifier;)V
intermediary <init>
Lnet/minecraft/class_2159;<init>(Lnet/minecraft/class_2960;)V
official <init>
Leo;<init>(Lakr;)V
-
-
Method Details
-
get
public Optional<CommandFunction<ServerCommandSource>> get(CommandFunctionManager commandFunctionManager) - Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/server/function/LazyContainer;get(Lnet/minecraft/server/function/CommandFunctionManager;)Ljava/util/Optional;
intermediary method_9196
Lnet/minecraft/class_2159;method_9196(Lnet/minecraft/class_2991;)Ljava/util/Optional;
official a
Leo;a(Lalg;)Ljava/util/Optional;
-
getId
- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/server/function/LazyContainer;getId()Lnet/minecraft/util/Identifier;
intermediary method_9197
Lnet/minecraft/class_2159;method_9197()Lnet/minecraft/class_2960;
official a
Leo;a()Lakr;
-
equals
-