net.minecraft.commands.execution

public class ExecutionContext<T>

implements AutoCloseable

hx
net.minecraft.commands.execution.ExecutionContext
net.minecraft.class_8854
net.minecraft.command.CommandExecutionContext
net.minecraft.commands.execution.ExecutionContext

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private static <T extends ExecutionCommandSource<T>> Frame
a(hx<T> arg0, eu arg1)
createTopFrame(ExecutionContext<T> arg0, CommandResultCallback arg1)
method_54889(class_8854<T> arg0, class_8935 arg1)
frame(CommandExecutionContext<T> context, ReturnValueConsumer returnValueConsumer)
public static <T extends ExecutionCommandSource<T>> void
a(hx<T> arg0, in<T> arg1, T arg2, eu 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)
public static <T extends ExecutionCommandSource<T>> void
a(hx<T> arg0, String arg1, com.mojang.brigadier.context.ContextChain<T> arg2, T arg3, eu 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)
private void
f()
handleQueueOverflow()
method_54400()
markQueueOverflowed()
public void
a(ht<T> arg0)
queueNext(CommandQueueEntry<T> arg0)
method_54392(class_8847<T> arg0)
enqueueCommand(CommandQueueEntry<T> entry)
public void
a(int arg0)
discardAtDepthOrHigher(int arg0)
method_54391(int arg0)
escape(int depth)
public Frame$FrameControl
b(int arg0)
frameControlForDepth(int arg0)
method_54890(int arg0)
getEscapeControl(int depth)
public void
a()
runCommandQueue()
method_54390()
run()
private void
g()
pushNewCommands()
method_55594()
queuePendingCommands()
public void
a(ia arg0)
tracer(TraceCallbacks arg0)
method_54394(class_6346 arg0)
setTracer(Tracer tracer)
public TraceCallbacks
b()
tracer()
method_54396()
getTracer()
public ProfilerFiller
c()
profiler()
method_54397()
getProfiler()
public int
d()
forkLimit()
method_54398()
getForkLimit()
public void
e()
incrementCost()
method_54399()
decrementCommandQuota()
public void
close()
close()