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 official dm
intermediary net/minecraft/class_2159
named net/minecraft/server/function/LazyContainer
-
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 official a
Ldm;a:Lcom/mojang/serialization/Codec;
intermediary field_47409
Lnet/minecraft/class_2159;field_47409:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/server/function/LazyContainer;CODEC:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector official b
Ldm;b:Lahg;
intermediary field_9807
Lnet/minecraft/class_2159;field_9807:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/server/function/LazyContainer;id:Lnet/minecraft/util/Identifier;
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector official c
Ldm;c:Z
intermediary field_9810
Lnet/minecraft/class_2159;field_9810:Z
named initialized
Lnet/minecraft/server/function/LazyContainer;initialized:Z
-
function
- Mappings:
Namespace Name Mixin selector official d
Ldm;d:Ljava/util/Optional;
intermediary field_9808
Lnet/minecraft/class_2159;field_9808:Ljava/util/Optional;
named function
Lnet/minecraft/server/function/LazyContainer;function:Ljava/util/Optional;
-
-
Constructor Details
-
LazyContainer
- Mappings:
Namespace Name Mixin selector official <init>
Ldm;<init>(Lahg;)V
intermediary <init>
Lnet/minecraft/class_2159;<init>(Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/server/function/LazyContainer;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
get
public Optional<CommandFunction<ServerCommandSource>> get(CommandFunctionManager commandFunctionManager) - Mappings:
Namespace Name Mixin selector official a
Ldm;a(Lahu;)Ljava/util/Optional;
intermediary method_9196
Lnet/minecraft/class_2159;method_9196(Lnet/minecraft/class_2991;)Ljava/util/Optional;
named get
Lnet/minecraft/server/function/LazyContainer;get(Lnet/minecraft/server/function/CommandFunctionManager;)Ljava/util/Optional;
-
getId
- Mappings:
Namespace Name Mixin selector official a
Ldm;a()Lahg;
intermediary method_9197
Lnet/minecraft/class_2159;method_9197()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/server/function/LazyContainer;getId()Lnet/minecraft/util/Identifier;
-
equals
-