Package net.minecraft.server.function
Class CommandFunction
java.lang.Object
net.minecraft.server.function.CommandFunction
public class CommandFunction extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommandFunction.CommandElement
static interface
CommandFunction.Element
static class
CommandFunction.FunctionElement
static class
CommandFunction.LazyContainer
-
Field Summary
Fields Modifier and Type Field Description private CommandFunction.Element[]
elements
private Identifier
id
-
Constructor Summary
Constructors Constructor Description CommandFunction(Identifier id, CommandFunction.Element[] elements)
-
Method Summary
Modifier and Type Method Description static CommandFunction
create(Identifier id, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher, ServerCommandSource serverCommandSource, List<String> list)
CommandFunction.Element[]
getElements()
Identifier
getId()
-
Field Details
-
elements
-
id
-
-
Constructor Details
-
CommandFunction
-
-
Method Details
-
getId
-
getElements
-
create
public static CommandFunction create(Identifier id, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher, ServerCommandSource serverCommandSource, List<String> list)
-