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/LazyContainerintermediary net/minecraft/class_2159official ef
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LazyContainer> private Optional<CommandFunction<ServerCommandSource>> private final Identifierprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget(CommandFunctionManager commandFunctionManager) getId()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/server/function/LazyContainer;CODEC:Lcom/mojang/serialization/Codec;intermediary field_47409Lnet/minecraft/class_2159;field_47409:Lcom/mojang/serialization/Codec;official aLef;a:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/server/function/LazyContainer;id:Lnet/minecraft/util/Identifier;intermediary field_9807Lnet/minecraft/class_2159;field_9807:Lnet/minecraft/class_2960;official bLef;b:Lalr;
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector named initializedLnet/minecraft/server/function/LazyContainer;initialized:Zintermediary field_9810Lnet/minecraft/class_2159;field_9810:Zofficial cLef;c:Z
-
function
- Mappings:
Namespace Name Mixin selector named functionLnet/minecraft/server/function/LazyContainer;function:Ljava/util/Optional;intermediary field_9808Lnet/minecraft/class_2159;field_9808:Ljava/util/Optional;official dLef;d:Ljava/util/Optional;
-
-
Constructor Details
-
LazyContainer
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/function/LazyContainer;<init>(Lnet/minecraft/util/Identifier;)Vintermediary <init>Lnet/minecraft/class_2159;<init>(Lnet/minecraft/class_2960;)Vofficial <init>Lef;<init>(Lalr;)V
-
-
Method Details
-
get
public Optional<CommandFunction<ServerCommandSource>> get(CommandFunctionManager commandFunctionManager) - Mappings:
Namespace Name Mixin selector named getLnet/minecraft/server/function/LazyContainer;get(Lnet/minecraft/server/function/CommandFunctionManager;)Ljava/util/Optional;intermediary method_9196Lnet/minecraft/class_2159;method_9196(Lnet/minecraft/class_2991;)Ljava/util/Optional;official aLef;a(Lamg;)Ljava/util/Optional;
-
getId
- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/server/function/LazyContainer;getId()Lnet/minecraft/util/Identifier;intermediary method_9197Lnet/minecraft/class_2159;method_9197()Lnet/minecraft/class_2960;official aLef;a()Lalr;
-
equals
-