Package net.minecraft.commands.functions
Class MacroFunction.MacroEntry<T extends ExecutionCommandSource<T>>
java.lang.Object
net.minecraft.commands.functions.MacroFunction.MacroEntry<T>
- All Implemented Interfaces:
MacroFunction.Entry<T>
- Enclosing class:
- MacroFunction<T extends ExecutionCommandSource<T>>
static class MacroFunction.MacroEntry<T extends ExecutionCommandSource<T>>
extends Object
implements MacroFunction.Entry<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.IntList
private final StringTemplate
-
Constructor Summary
ConstructorDescriptionMacroEntry
(StringTemplate p_309563_, it.unimi.dsi.fastutil.ints.IntList p_312180_) -
Method Summary
Modifier and TypeMethodDescriptioninstantiate
(List<String> p_312101_, com.mojang.brigadier.CommandDispatcher<T> p_309379_, T p_310478_, ResourceLocation p_312655_) it.unimi.dsi.fastutil.ints.IntList
-
Field Details
-
template
-
parameters
private final it.unimi.dsi.fastutil.ints.IntList parameters
-
-
Constructor Details
-
MacroEntry
-
-
Method Details
-
parameters
public it.unimi.dsi.fastutil.ints.IntList parameters()- Specified by:
parameters
in interfaceMacroFunction.Entry<T extends ExecutionCommandSource<T>>
-
instantiate
public UnboundEntryAction<T> instantiate(List<String> p_312101_, com.mojang.brigadier.CommandDispatcher<T> p_309379_, T p_310478_, ResourceLocation p_312655_) throws FunctionInstantiationException - Specified by:
instantiate
in interfaceMacroFunction.Entry<T extends ExecutionCommandSource<T>>
- Throws:
FunctionInstantiationException
-