Package net.minecraft.commands
Class CommandFunction
java.lang.Object
net.minecraft.commands.CommandFunction
- Direct Known Subclasses:
 CommandFunction.CommandMacro
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class(package private) static classstatic interfacestatic classstatic class - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CommandFunction.Entry[](package private) final ResourceLocation - 
Constructor Summary
ConstructorsConstructorDescriptionCommandFunction(ResourceLocation p_77979_, CommandFunction.Entry[] p_77980_)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic CommandFunction.MacroEntrydecomposeMacro(String p_301200_, int p_300045_) static CommandFunctionfromLines(ResourceLocation p_77985_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_77986_, CommandSourceStack p_77987_, List<String> p_77988_) getId()instantiate(CompoundTag p_300636_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_300698_, CommandSourceStack p_298553_) private static booleanisValidVariableName(String p_299170_) private static booleanshouldConcatenateNextLine(CharSequence p_298962_)  
- 
Field Details
- 
entries
 - 
id
 
 - 
 - 
Constructor Details
- 
CommandFunction
 
 - 
 - 
Method Details
- 
getId
 - 
getEntries
 - 
instantiate
public CommandFunction instantiate(@Nullable CompoundTag p_300636_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_300698_, CommandSourceStack p_298553_) throws FunctionInstantiationException - Throws:
 FunctionInstantiationException
 - 
shouldConcatenateNextLine
 - 
fromLines
public static CommandFunction fromLines(ResourceLocation p_77985_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_77986_, CommandSourceStack p_77987_, List<String> p_77988_)  - 
decomposeMacro
 - 
isValidVariableName
 
 -