Package net.minecraft.server.function
Class CommandFunction.Macro
java.lang.Object
net.minecraft.server.function.CommandFunction
net.minecraft.server.function.CommandFunction.Macro
- Enclosing class:
CommandFunction
- Mappings:
Namespace Name official dn$cintermediary net/minecraft/class_2158$class_8641named net/minecraft/server/function/CommandFunction$Macro
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.server.function.CommandFunction
CommandFunction.CommandElement, CommandFunction.Element, CommandFunction.FunctionElement, CommandFunction.LazyContainer, CommandFunction.MacroElement -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Object2ObjectLinkedOpenHashMap<List<String>,CommandFunction> private static final intFields inherited from class net.minecraft.server.function.CommandFunction
id -
Constructor Summary
ConstructorsConstructorDescriptionMacro(Identifier id, CommandFunction.Element[] elements, List<String> variables) -
Method Summary
Modifier and TypeMethodDescriptionprivate CommandFunctionwithMacroReplaced(List<String> arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) withMacroReplaced(@Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) Methods inherited from class net.minecraft.server.function.CommandFunction
create, getElements, getId, parseMacro
-
Field Details
-
CACHE_SIZE
private static final int CACHE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official bLdn$c;b:Iintermediary field_45150Lnet/minecraft/class_2158$class_8641;field_45150:Inamed CACHE_SIZELnet/minecraft/server/function/CommandFunction$Macro;CACHE_SIZE:I
-
variables
- Mappings:
Namespace Name Mixin selector official aLdn$c;a:Ljava/util/List;intermediary field_45149Lnet/minecraft/class_2158$class_8641;field_45149:Ljava/util/List;named variablesLnet/minecraft/server/function/CommandFunction$Macro;variables:Ljava/util/List;
-
cache
- Mappings:
Namespace Name Mixin selector official cLdn$c;c:Lit/unimi/dsi/fastutil/objects/Object2ObjectLinkedOpenHashMap;intermediary field_45151Lnet/minecraft/class_2158$class_8641;field_45151:Lit/unimi/dsi/fastutil/objects/Object2ObjectLinkedOpenHashMap;named cacheLnet/minecraft/server/function/CommandFunction$Macro;cache:Lit/unimi/dsi/fastutil/objects/Object2ObjectLinkedOpenHashMap;
-
-
Constructor Details
-
Macro
- Mappings:
Namespace Name Mixin selector official <init>Ldn$c;<init>(Laep;[Ldn$d;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_2158$class_8641;<init>(Lnet/minecraft/class_2960;[Lnet/minecraft/class_2158$class_2161;Ljava/util/List;)Vnamed <init>Lnet/minecraft/server/function/CommandFunction$Macro;<init>(Lnet/minecraft/util/Identifier;[Lnet/minecraft/server/function/CommandFunction$Element;Ljava/util/List;)V
-
-
Method Details
-
withMacroReplaced
public CommandFunction withMacroReplaced(@Nullable @Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) throws MacroException - Overrides:
withMacroReplacedin classCommandFunction- Throws:
MacroException- Mappings:
Namespace Name Mixin selector official aLdn;a(Lqs;Lcom/mojang/brigadier/CommandDispatcher;Lds;)Ldn;intermediary method_52595Lnet/minecraft/class_2158;method_52595(Lnet/minecraft/class_2487;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_2168;)Lnet/minecraft/class_2158;named withMacroReplacedLnet/minecraft/server/function/CommandFunction;withMacroReplaced(Lnet/minecraft/nbt/NbtCompound;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/server/function/CommandFunction;
-
withMacroReplaced
private CommandFunction withMacroReplaced(List<String> arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source) throws MacroException - Throws:
MacroException- Mappings:
Namespace Name Mixin selector official aLdn$c;a(Ljava/util/List;Lcom/mojang/brigadier/CommandDispatcher;Lds;)Ldn;intermediary method_52597Lnet/minecraft/class_2158$class_8641;method_52597(Ljava/util/List;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_2168;)Lnet/minecraft/class_2158;named withMacroReplacedLnet/minecraft/server/function/CommandFunction$Macro;withMacroReplaced(Ljava/util/List;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/server/function/CommandFunction;
-