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_306131_, it.unimi.dsi.fastutil.ints.IntList p_306124_) -
Method Summary
Modifier and TypeMethodDescriptioninstantiate
(List<String> p_306061_, com.mojang.brigadier.CommandDispatcher<T> p_306059_, T p_305895_, ResourceLocation p_306158_) 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_306061_, com.mojang.brigadier.CommandDispatcher<T> p_306059_, T p_305895_, ResourceLocation p_306158_) throws FunctionInstantiationException - Specified by:
instantiate
in interfaceMacroFunction.Entry<T extends ExecutionCommandSource<T>>
- Throws:
FunctionInstantiationException
-