Package net.minecraft.command
Class CommandExecutionContext<T>
java.lang.Object
net.minecraft.command.CommandExecutionContext<T>
- All Implemented Interfaces:
- AutoCloseable
- Mappings:
- Namespace - Name - named - net/minecraft/command/CommandExecutionContext- intermediary - net/minecraft/class_8854- official - hx
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Deque<CommandQueueEntry<T>> private intprivate intprivate final intprivate static final Loggerprivate static final intprivate final intprivate final List<CommandQueueEntry<T>> private final Profilerprivate boolean
- 
Constructor SummaryConstructorsConstructorDescriptionCommandExecutionContext(int maxCommandChainLength, int maxCommandForkCount, Profiler profiler) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voidstatic <T extends AbstractServerCommandSource<T>>
 voidenqueueCommand(CommandExecutionContext<T> context, String command, com.mojang.brigadier.context.ContextChain<T> contextChain, T source, ReturnValueConsumer returnValueConsumer) voidenqueueCommand(CommandQueueEntry<T> entry) static <T extends AbstractServerCommandSource<T>>
 voidenqueueProcedureCall(CommandExecutionContext<T> context, Procedure<T> procedure, T source, ReturnValueConsumer returnValueConsumer) voidescape(int depth) private static <T extends AbstractServerCommandSource<T>>
 Frameframe(CommandExecutionContext<T> context, ReturnValueConsumer returnValueConsumer) getEscapeControl(int depth) intprivate voidprivate voidvoidrun()void
- 
Field Details- 
MAX_COMMAND_QUEUE_LENGTHprivate static final int MAX_COMMAND_QUEUE_LENGTH- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MAX_COMMAND_QUEUE_LENGTH- Lnet/minecraft/command/CommandExecutionContext;MAX_COMMAND_QUEUE_LENGTH:I- intermediary - field_46729- Lnet/minecraft/class_8854;field_46729:I- official - a- Lhx;a:I
 
- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - named - LOGGER- Lnet/minecraft/command/CommandExecutionContext;LOGGER:Lorg/slf4j/Logger;- intermediary - field_46730- Lnet/minecraft/class_8854;field_46730:Lorg/slf4j/Logger;- official - b- Lhx;b:Lorg/slf4j/Logger;
 
- 
maxCommandChainLengthprivate final int maxCommandChainLength- Mappings:
- Namespace - Name - Mixin selector - named - maxCommandChainLength- Lnet/minecraft/command/CommandExecutionContext;maxCommandChainLength:I- intermediary - field_46731- Lnet/minecraft/class_8854;field_46731:I- official - c- Lhx;c:I
 
- 
forkLimitprivate final int forkLimit- Mappings:
- Namespace - Name - Mixin selector - named - forkLimit- Lnet/minecraft/command/CommandExecutionContext;forkLimit:I- intermediary - field_46732- Lnet/minecraft/class_8854;field_46732:I- official - d- Lhx;d:I
 
- 
profiler- Mappings:
- Namespace - Name - Mixin selector - named - profiler- Lnet/minecraft/command/CommandExecutionContext;profiler:Lnet/minecraft/util/profiler/Profiler;- intermediary - field_46733- Lnet/minecraft/class_8854;field_46733:Lnet/minecraft/class_3695;- official - e- Lhx;e:Lbou;
 
- 
tracer- Mappings:
- Namespace - Name - Mixin selector - named - tracer- Lnet/minecraft/command/CommandExecutionContext;tracer:Lnet/minecraft/server/function/Tracer;- intermediary - field_46734- Lnet/minecraft/class_8854;field_46734:Lnet/minecraft/class_6346;- official - f- Lhx;f:Lia;
 
- 
commandsRemainingprivate int commandsRemaining- Mappings:
- Namespace - Name - Mixin selector - named - commandsRemaining- Lnet/minecraft/command/CommandExecutionContext;commandsRemaining:I- intermediary - field_46735- Lnet/minecraft/class_8854;field_46735:I- official - g- Lhx;g:I
 
- 
queueOverflowedprivate boolean queueOverflowed- Mappings:
- Namespace - Name - Mixin selector - named - queueOverflowed- Lnet/minecraft/command/CommandExecutionContext;queueOverflowed:Z- intermediary - field_46736- Lnet/minecraft/class_8854;field_46736:Z- official - h- Lhx;h:Z
 
- 
commandQueue- Mappings:
- Namespace - Name - Mixin selector - named - commandQueue- Lnet/minecraft/command/CommandExecutionContext;commandQueue:Ljava/util/Deque;- intermediary - field_46737- Lnet/minecraft/class_8854;field_46737:Ljava/util/Deque;- official - i- Lhx;i:Ljava/util/Deque;
 
- 
pendingCommands- Mappings:
- Namespace - Name - Mixin selector - named - pendingCommands- Lnet/minecraft/command/CommandExecutionContext;pendingCommands:Ljava/util/List;- intermediary - field_46738- Lnet/minecraft/class_8854;field_46738:Ljava/util/List;- official - j- Lhx;j:Ljava/util/List;
 
- 
currentDepthprivate int currentDepth- Mappings:
- Namespace - Name - Mixin selector - named - currentDepth- Lnet/minecraft/command/CommandExecutionContext;currentDepth:I- intermediary - field_47705- Lnet/minecraft/class_8854;field_47705:I- official - k- Lhx;k:I
 
 
- 
- 
Constructor Details- 
CommandExecutionContextpublic CommandExecutionContext(int maxCommandChainLength, int maxCommandForkCount, Profiler profiler) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/command/CommandExecutionContext;<init>(IILnet/minecraft/util/profiler/Profiler;)V- intermediary - <init>- Lnet/minecraft/class_8854;<init>(IILnet/minecraft/class_3695;)V- official - <init>- Lhx;<init>(IILbou;)V
 
 
- 
- 
Method Details- 
frameprivate static <T extends AbstractServerCommandSource<T>> Frame frame(CommandExecutionContext<T> context, ReturnValueConsumer returnValueConsumer) - Mappings:
- Namespace - Name - Mixin selector - named - frame- Lnet/minecraft/command/CommandExecutionContext;frame(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/ReturnValueConsumer;)Lnet/minecraft/command/Frame;- intermediary - method_54889- Lnet/minecraft/class_8854;method_54889(Lnet/minecraft/class_8854;Lnet/minecraft/class_8935;)Lnet/minecraft/class_8937;- official - a- Lhx;a(Lhx;Leu;)Lhz;
 
- 
enqueueProcedureCallpublic static <T extends AbstractServerCommandSource<T>> void enqueueProcedureCall(CommandExecutionContext<T> context, Procedure<T> procedure, T source, ReturnValueConsumer returnValueConsumer) - Mappings:
- Namespace - Name - Mixin selector - named - enqueueProcedureCall- Lnet/minecraft/command/CommandExecutionContext;enqueueProcedureCall(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/server/function/Procedure;Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/ReturnValueConsumer;)V- intermediary - method_54395- Lnet/minecraft/class_8854;method_54395(Lnet/minecraft/class_8854;Lnet/minecraft/class_8868;Lnet/minecraft/class_8839;Lnet/minecraft/class_8935;)V- official - a- Lhx;a(Lhx;Lin;Lez;Leu;)V
 
- 
enqueueCommandpublic static <T extends AbstractServerCommandSource<T>> void enqueueCommand(CommandExecutionContext<T> context, String command, com.mojang.brigadier.context.ContextChain<T> contextChain, T source, ReturnValueConsumer returnValueConsumer) - Mappings:
- Namespace - Name - Mixin selector - named - enqueueCommand- Lnet/minecraft/command/CommandExecutionContext;enqueueCommand(Lnet/minecraft/command/CommandExecutionContext;Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/ReturnValueConsumer;)V- intermediary - method_54393- Lnet/minecraft/class_8854;method_54393(Lnet/minecraft/class_8854;Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_8839;Lnet/minecraft/class_8935;)V- official - a- Lhx;a(Lhx;Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lez;Leu;)V
 
- 
markQueueOverflowedprivate void markQueueOverflowed()- Mappings:
- Namespace - Name - Mixin selector - named - markQueueOverflowed- Lnet/minecraft/command/CommandExecutionContext;markQueueOverflowed()V- intermediary - method_54400- Lnet/minecraft/class_8854;method_54400()V- official - f- Lhx;f()V
 
- 
enqueueCommand- Mappings:
- Namespace - Name - Mixin selector - named - enqueueCommand- Lnet/minecraft/command/CommandExecutionContext;enqueueCommand(Lnet/minecraft/command/CommandQueueEntry;)V- intermediary - method_54392- Lnet/minecraft/class_8854;method_54392(Lnet/minecraft/class_8847;)V- official - a- Lhx;a(Lht;)V
 
- 
escapepublic void escape(int depth) - Mappings:
- Namespace - Name - Mixin selector - named - escape- Lnet/minecraft/command/CommandExecutionContext;escape(I)V- intermediary - method_54391- Lnet/minecraft/class_8854;method_54391(I)V- official - a- Lhx;a(I)V
 
- 
getEscapeControl- Mappings:
- Namespace - Name - Mixin selector - named - getEscapeControl- Lnet/minecraft/command/CommandExecutionContext;getEscapeControl(I)Lnet/minecraft/command/Frame$Control;- intermediary - method_54890- Lnet/minecraft/class_8854;method_54890(I)Lnet/minecraft/class_8937$class_8938;- official - b- Lhx;b(I)Lhz$a;
 
- 
runpublic void run()- Mappings:
- Namespace - Name - Mixin selector - named - run- Lnet/minecraft/command/CommandExecutionContext;run()V- intermediary - method_54390- Lnet/minecraft/class_8854;method_54390()V- official - a- Lhx;a()V
 
- 
queuePendingCommandsprivate void queuePendingCommands()- Mappings:
- Namespace - Name - Mixin selector - named - queuePendingCommands- Lnet/minecraft/command/CommandExecutionContext;queuePendingCommands()V- intermediary - method_55594- Lnet/minecraft/class_8854;method_55594()V- official - g- Lhx;g()V
 
- 
setTracer- Mappings:
- Namespace - Name - Mixin selector - named - setTracer- Lnet/minecraft/command/CommandExecutionContext;setTracer(Lnet/minecraft/server/function/Tracer;)V- intermediary - method_54394- Lnet/minecraft/class_8854;method_54394(Lnet/minecraft/class_6346;)V- official - a- Lhx;a(Lia;)V
 
- 
getTracer- Mappings:
- Namespace - Name - Mixin selector - named - getTracer- Lnet/minecraft/command/CommandExecutionContext;getTracer()Lnet/minecraft/server/function/Tracer;- intermediary - method_54396- Lnet/minecraft/class_8854;method_54396()Lnet/minecraft/class_6346;- official - b- Lhx;b()Lia;
 
- 
getProfiler- Mappings:
- Namespace - Name - Mixin selector - named - getProfiler- Lnet/minecraft/command/CommandExecutionContext;getProfiler()Lnet/minecraft/util/profiler/Profiler;- intermediary - method_54397- Lnet/minecraft/class_8854;method_54397()Lnet/minecraft/class_3695;- official - c- Lhx;c()Lbou;
 
- 
getForkLimitpublic int getForkLimit()- Mappings:
- Namespace - Name - Mixin selector - named - getForkLimit- Lnet/minecraft/command/CommandExecutionContext;getForkLimit()I- intermediary - method_54398- Lnet/minecraft/class_8854;method_54398()I- official - d- Lhx;d()I
 
- 
decrementCommandQuotapublic void decrementCommandQuota()- Mappings:
- Namespace - Name - Mixin selector - named - decrementCommandQuota- Lnet/minecraft/command/CommandExecutionContext;decrementCommandQuota()V- intermediary - method_54399- Lnet/minecraft/class_8854;method_54399()V- official - e- Lhx;e()V
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
 
-