net.minecraft.commands.execution

public class ExecutionContext<T>

implements AutoCloseable

ho
net.minecraft.commands.execution.ExecutionContext
net.minecraft.class_8854
net.minecraft.command.CommandExecutionContext
net.minecraft.src.C_302111_
net.minecraft.commands.execution.ExecutionContext

Field summary

Modifier and TypeField
private static final int
a
MAX_QUEUE_DEPTH
field_46729
MAX_COMMAND_QUEUE_LENGTH
f_303554_
private static final org.slf4j.Logger
b
LOGGER
field_46730
LOGGER
f_303754_
private final int
c
commandLimit
field_46731
maxCommandChainLength
f_303134_
private final int
d
forkLimit
field_46732
forkLimit
f_303338_
private final ProfilerFiller
e
profiler
field_46733
profiler
f_303063_
private TraceCallbacks
f
tracer
field_46734
tracer
f_303303_
private int
g
commandQuota
field_46735
commandsRemaining
f_303772_
private boolean
h
queueOverflow
field_46736
queueOverflowed
f_303790_
private final Deque<CommandQueueEntry<T>>
i
commandQueue
field_46737
commandQueue
f_303117_
private final List<CommandQueueEntry<T>>
j
newTopCommands
field_46738
pendingCommands
f_302263_
private int
k
currentFrameDepth
field_47705
currentDepth
f_302338_

Constructor summary

ModifierConstructor
public (int maxCommandChainLength, int maxCommandForkCount, ProfilerFiller profiler)

Method summary

Modifier and TypeMethod
private static <T extends ExecutionCommandSource<T>> Frame
a(ho<T> arg0, em arg1)
createTopFrame(ExecutionContext<T> arg0, CommandResultCallback arg1)
method_54889(class_8854<T> arg0, class_8935 arg1)
frame(CommandExecutionContext<T> context, ReturnValueConsumer returnValueConsumer)
m_307370_(C_302111_<T> p_310887_, C_302039_ p_311060_)
public static <T extends ExecutionCommandSource<T>> void
a(ho<T> arg0, id<T> arg1, T arg2, em arg3)
queueInitialFunctionCall(ExecutionContext<T> arg0, InstantiatedFunction<T> arg1, T arg2, CommandResultCallback arg3)
method_54395(class_8854<T> arg0, class_8868<T> arg1, T arg2, class_8935 arg3)
enqueueProcedureCall(CommandExecutionContext<T> context, Procedure<T> procedure, T source, ReturnValueConsumer returnValueConsumer)
m_307938_(C_302111_<T> p_311344_, C_302179_<T> p_309533_, T p_310187_, C_302039_ p_310874_)
public static <T extends ExecutionCommandSource<T>> void
a(ho<T> arg0, String arg1, com.mojang.brigadier.context.ContextChain<T> arg2, T arg3, em arg4)
queueInitialCommandExecution(ExecutionContext<T> arg0, String arg1, com.mojang.brigadier.context.ContextChain<T> arg2, T arg3, CommandResultCallback arg4)
method_54393(class_8854<T> arg0, String arg1, com.mojang.brigadier.context.ContextChain<T> arg2, T arg3, class_8935 arg4)
enqueueCommand(CommandExecutionContext<T> context, String command, com.mojang.brigadier.context.ContextChain<T> contextChain, T source, ReturnValueConsumer returnValueConsumer)
m_307315_(C_302111_<T> p_311278_, String p_310967_, com.mojang.brigadier.context.ContextChain<T> p_311656_, T p_312145_, C_302039_ p_309674_)
private void
f()
handleQueueOverflow()
method_54400()
markQueueOverflowed()
m_305118_()
public void
a(hk<T> arg0)
queueNext(CommandQueueEntry<T> arg0)
method_54392(class_8847<T> arg0)
enqueueCommand(CommandQueueEntry<T> entry)
m_307907_(C_302001_<T> arg0)
public void
a(int arg0)
discardAtDepthOrHigher(int arg0)
method_54391(int arg0)
escape(int depth)
m_305632_(int arg0)
public Frame$FrameControl
b(int arg0)
frameControlForDepth(int arg0)
method_54890(int arg0)
getEscapeControl(int depth)
m_306722_(int arg0)
public void
a()
runCommandQueue()
method_54390()
run()
m_304919_()
private void
g()
pushNewCommands()
method_55594()
queuePendingCommands()
m_306974_()
public void
a(hr arg0)
tracer(TraceCallbacks arg0)
method_54394(class_6346 arg0)
setTracer(Tracer tracer)
m_305996_(C_301925_ arg0)
public TraceCallbacks
b()
tracer()
method_54396()
getTracer()
m_307286_()
public ProfilerFiller
c()
profiler()
method_54397()
getProfiler()
m_305697_()
public int
d()
forkLimit()
method_54398()
getForkLimit()
m_306377_()
public void
e()
incrementCost()
method_54399()
decrementCommandQuota()
m_306457_()
public void
close()
close()
close()