net.minecraft.commands.functions

public class MacroFunction<T extends ExecutionCommandSource<T>>

implements CommandFunction<T>

ij
net.minecraft.commands.functions.MacroFunction
net.minecraft.class_8641
net.minecraft.unmapped.C_eqsfibhs
net.minecraft.server.function.Macro
net.minecraft.unmapped.C_eqsfibhs
net.minecraft.src.C_302122_
net.minecraft.commands.functions.MacroFunction

Field summary

Modifier and TypeField
private static final DecimalFormat
a
DECIMAL_FORMAT
field_46190
f_ygfbvndo
DECIMAL_FORMAT
f_302462_
private static final int
b
MAX_CACHE_ENTRIES
field_45150
f_driryajo
CACHE_SIZE
f_303588_
private final List<String>
c
parameters
field_45149
f_jbegapqf
varNames
f_303264_
private final it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap<List<String>, InstantiatedFunction<T>>
d
cache
field_45151
f_eeokqtau
cache
f_303756_
private final ResourceLocation
e
id
field_46758
f_xwcqsnaf
id
f_302268_
private final List<MacroFunction$Entry<T>>
f
entries
field_46759
f_wmytugqr
lines
f_303053_

Constructor summary

ModifierConstructor
public (ResourceLocation id, List<MacroFunction$Entry<T>> lines, List<String> varNames)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
id()
comp_1994()
m_qhypflkx()
id()
m_304900_()
public InstantiatedFunction<T>
a(ub arg0, com.mojang.brigadier.CommandDispatcher<T> arg1)
instantiate(CompoundTag arg0, com.mojang.brigadier.CommandDispatcher<T> arg1)
method_52595(class_2487 arg0, com.mojang.brigadier.CommandDispatcher<T> arg1)
m_mydomkjw(C_hhlwcnih arg0, com.mojang.brigadier.CommandDispatcher<T> arg1)
withMacroReplaced(NbtCompound arg0, com.mojang.brigadier.CommandDispatcher<T> arg1)
m_mydomkjw(NbtCompound arg0, com.mojang.brigadier.CommandDispatcher<T> arg1)
m_304684_(C_4917_ p_309980_, com.mojang.brigadier.CommandDispatcher<T> arg1)
private static String
a(uy arg0)
stringify(Tag arg0)
method_53840(class_2520 arg0)
m_xbwmzurw(C_oivssbvb arg0)
toString(NbtElement nbt)
m_306275_(C_4950_ p_313061_)
private static void
a(List<String> arg0, it.unimi.dsi.fastutil.ints.IntList arg1, List<String> arg2)
lookupValues(List<String> arg0, it.unimi.dsi.fastutil.ints.IntList arg1, List<String> arg2)
method_54424(List<String> arg0, it.unimi.dsi.fastutil.ints.IntList arg1, List<String> arg2)
m_qczptfdb(List<String> arg0, it.unimi.dsi.fastutil.ints.IntList arg1, List<String> arg2)
addArgumentsByIndices(List<String> arguments, it.unimi.dsi.fastutil.ints.IntList indices, List<String> out)
m_306611_(List<String> p_313206_, it.unimi.dsi.fastutil.ints.IntList p_310595_, List<String> p_310258_)
private InstantiatedFunction<T>
a(List<String> arg0, List<String> arg1, com.mojang.brigadier.CommandDispatcher<T> arg2)
substituteAndParse(List<String> arg0, List<String> arg1, com.mojang.brigadier.CommandDispatcher<T> arg2)
method_52597(List<String> arg0, List<String> arg1, com.mojang.brigadier.CommandDispatcher<T> arg2)
m_hubmflrx(List<String> arg0, List<String> arg1, com.mojang.brigadier.CommandDispatcher<T> arg2)
withMacroReplaced(List<String> varNames, List<String> arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher)
m_hubmflrx(List<String> arg0, List<String> arg1, com.mojang.brigadier.CommandDispatcher<T> dispatcher)
m_304946_(List<String> p_312778_, List<String> p_311234_, com.mojang.brigadier.CommandDispatcher<T> arg2)