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 classCommandFunction.CommandElementstatic interfaceCommandFunction.Elementstatic classCommandFunction.FunctionElementstatic classCommandFunction.LazyContainer -
Field Summary
Fields Modifier and Type Field Description private CommandFunction.Element[]elementsprivate Identifierid -
Constructor Summary
Constructors Constructor Description CommandFunction(Identifier id, CommandFunction.Element[] elements) -
Method Summary
Modifier and Type Method Description static CommandFunctioncreate(Identifier id, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher, ServerCommandSource serverCommandSource, List<String> list)CommandFunction.Element[]getElements()IdentifiergetId()
-
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)
-