Package net.minecraft.commands
Class CommandFunction
java.lang.Object
net.minecraft.commands.CommandFunction
- Direct Known Subclasses:
- CommandFunction.CommandMacro
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class(package private) static classstatic interfacestatic classstatic class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final CommandFunction.Entry[](package private) final ResourceLocation
- 
Constructor SummaryConstructorsConstructorDescriptionCommandFunction(ResourceLocation p_77979_, CommandFunction.Entry[] p_77980_) 
- 
Method SummaryModifier 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
- 
instantiatepublic CommandFunction instantiate(@Nullable CompoundTag p_300636_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_300698_, CommandSourceStack p_298553_) throws FunctionInstantiationException - Throws:
- FunctionInstantiationException
 
- 
shouldConcatenateNextLine
- 
fromLinespublic static CommandFunction fromLines(ResourceLocation p_77985_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_77986_, CommandSourceStack p_77987_, List<String> p_77988_) 
- 
decomposeMacro
- 
isValidVariableName
 
-