Package net.minecraft.server.function
Class CommandFunction.CommandElement
java.lang.Object
net.minecraft.server.function.CommandFunction.CommandElement
- All Implemented Interfaces:
CommandFunction.Element
- Enclosing class:
- CommandFunction
public static class CommandFunction.CommandElement extends Object implements CommandFunction.Element
- Mappings:
Namespace Name official cy$b
intermediary net/minecraft/class_2158$class_2160
named net/minecraft/server/function/CommandFunction$CommandElement
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.brigadier.ParseResults<ServerCommandSource>
parsed
-
Constructor Summary
Constructors Constructor Description CommandElement(com.mojang.brigadier.ParseResults<ServerCommandSource> parsed)
-
Method Summary
Modifier and Type Method Description void
execute(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength)
String
toString()
-
Field Details
-
parsed
- Mappings:
Namespace Name Mixin selector official a
Lcy$b;a:Lcom/mojang/brigadier/ParseResults;
intermediary field_9811
Lnet/minecraft/class_2158$class_2160;field_9811:Lcom/mojang/brigadier/ParseResults;
named parsed
Lnet/minecraft/server/function/CommandFunction$CommandElement;parsed:Lcom/mojang/brigadier/ParseResults;
-
-
Constructor Details
-
CommandElement
- Mappings:
Namespace Name Mixin selector official <init>
Lcy$b;<init>(Lcom/mojang/brigadier/ParseResults;)V
intermediary <init>
Lnet/minecraft/class_2158$class_2160;<init>(Lcom/mojang/brigadier/ParseResults;)V
named <init>
Lnet/minecraft/server/function/CommandFunction$CommandElement;<init>(Lcom/mojang/brigadier/ParseResults;)V
-
-
Method Details
-
execute
public void execute(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
execute
in interfaceCommandFunction.Element
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lcy$c;a(Lwn;Ldb;Ljava/util/Deque;I)V
intermediary method_9198
Lnet/minecraft/class_2158$class_2161;method_9198(Lnet/minecraft/class_2991;Lnet/minecraft/class_2168;Ljava/util/Deque;I)V
named execute
Lnet/minecraft/server/function/CommandFunction$Element;execute(Lnet/minecraft/server/function/CommandFunctionManager;Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Deque;I)V
-
toString
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Lcy$b;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_2158$class_2160;toString()Ljava/lang/String;
named toString
Lnet/minecraft/server/function/CommandFunction$CommandElement;toString()Ljava/lang/String;
-