Package net.minecraft.command
Class SingleCommandAction.SingleSource<T extends AbstractServerCommandSource<T>>
java.lang.Object
net.minecraft.command.SingleCommandAction<T>
net.minecraft.command.SingleCommandAction.SingleSource<T>
- All Implemented Interfaces:
CommandAction<T>
- Enclosing class:
SingleCommandAction<T extends AbstractServerCommandSource<T>>
public static class SingleCommandAction.SingleSource<T extends AbstractServerCommandSource<T>>
extends SingleCommandAction<T>
implements CommandAction<T>
- Mappings:
Namespace Name named net/minecraft/command/SingleCommandAction$SingleSource
intermediary net/minecraft/class_8858$class_8860
official ic$b
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.command.SingleCommandAction
SingleCommandAction.MultiSource<T extends AbstractServerCommandSource<T>>, SingleCommandAction.SingleSource<T extends AbstractServerCommandSource<T>>, SingleCommandAction.Sourced<T extends AbstractServerCommandSource<T>>
-
Field Summary
Fields inherited from class net.minecraft.command.SingleCommandAction
FORK_LIMIT_EXCEPTION
-
Constructor Summary
ConstructorDescriptionSingleSource
(String command, com.mojang.brigadier.context.ContextChain<T> contextChain, T source) -
Method Summary
Methods inherited from class net.minecraft.command.SingleCommandAction
execute, toString, traceCommandStart
-
Field Details
-
source
- Mappings:
Namespace Name Mixin selector named source
Lnet/minecraft/command/SingleCommandAction$SingleSource;source:Lnet/minecraft/server/command/AbstractServerCommandSource;
intermediary field_46746
Lnet/minecraft/class_8858$class_8860;field_46746:Lnet/minecraft/class_8839;
official b
Lic$b;b:Ley;
-
-
Constructor Details
-
SingleSource
public SingleSource(String command, com.mojang.brigadier.context.ContextChain<T> contextChain, T source) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/SingleCommandAction$SingleSource;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/server/command/AbstractServerCommandSource;)V
intermediary <init>
Lnet/minecraft/class_8858$class_8860;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_8839;)V
official <init>
Lic$b;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Ley;)V
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommandAction<T extends AbstractServerCommandSource<T>>
- Mappings:
Namespace Name Mixin selector named execute
Lnet/minecraft/command/CommandAction;execute(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
intermediary execute
Lnet/minecraft/class_8853;execute(Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
official execute
Lhv;execute(Lhw;Lhy;)V
-