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 T
private final it.unimi.dsi.fastutil.ints.IntList
private final StringTemplate
-
Constructor Summary
ConstructorDescriptionMacroEntry
(StringTemplate p_306131_, it.unimi.dsi.fastutil.ints.IntList p_306124_, T p_316385_) -
Method Summary
Modifier and TypeMethodDescriptioninstantiate
(List<String> p_306061_, com.mojang.brigadier.CommandDispatcher<T> p_306059_, ResourceLocation p_306158_) it.unimi.dsi.fastutil.ints.IntList
-
Field Details
-
template
-
parameters
private final it.unimi.dsi.fastutil.ints.IntList parameters -
compilationContext
-
-
Constructor Details
-
MacroEntry
public MacroEntry(StringTemplate p_306131_, it.unimi.dsi.fastutil.ints.IntList p_306124_, T p_316385_)
-
-
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_, ResourceLocation p_306158_) throws FunctionInstantiationException - Specified by:
instantiate
in interfaceMacroFunction.Entry<T extends ExecutionCommandSource<T>>
- Throws:
FunctionInstantiationException
-