Package net.minecraft.command
Class FunctionObject.CommandEntry
- java.lang.Object
-
- net.minecraft.command.FunctionObject.CommandEntry
-
- All Implemented Interfaces:
FunctionObject.IEntry
- Enclosing class:
- FunctionObject
public static class FunctionObject.CommandEntry extends java.lang.Object implements FunctionObject.IEntry
-
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.brigadier.ParseResults<CommandSource>
parse
-
Constructor Summary
Constructors Constructor Description CommandEntry(com.mojang.brigadier.ParseResults<CommandSource> p_i47816_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(FunctionManager p_196998_1_, CommandSource p_196998_2_, java.util.ArrayDeque<FunctionManager.QueuedCommand> p_196998_3_, int p_196998_4_)
java.lang.String
toString()
-
-
-
Field Detail
-
parse
private final com.mojang.brigadier.ParseResults<CommandSource> parse
-
-
Constructor Detail
-
CommandEntry
public CommandEntry(com.mojang.brigadier.ParseResults<CommandSource> p_i47816_1_)
-
-
Method Detail
-
execute
public void execute(FunctionManager p_196998_1_, CommandSource p_196998_2_, java.util.ArrayDeque<FunctionManager.QueuedCommand> p_196998_3_, int p_196998_4_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Specified by:
execute
in interfaceFunctionObject.IEntry
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-