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
official gu$b
intermediary net/minecraft/class_8858$class_8860
named net/minecraft/command/SingleCommandAction$SingleSource
  • Field Details

    • source

      private final T extends AbstractServerCommandSource<T> source
      Mappings:
      Namespace Name Mixin selector
      official b Lgu$b;b:Ldu;
      intermediary field_46746 Lnet/minecraft/class_8858$class_8860;field_46746:Lnet/minecraft/class_8839;
      named source Lnet/minecraft/command/SingleCommandAction$SingleSource;source:Lnet/minecraft/server/command/AbstractServerCommandSource;
  • Constructor Details

    • SingleSource

      public SingleSource(String command, com.mojang.brigadier.context.ContextChain<T> contextChain, T source)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgu$b;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Ldu;)V
      intermediary <init> Lnet/minecraft/class_8858$class_8860;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_8839;)V
      named <init> Lnet/minecraft/command/SingleCommandAction$SingleSource;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/server/command/AbstractServerCommandSource;)V
  • Method Details

    • execute

      public void execute(CommandExecutionContext<T> context, Frame frame)
      Specified by:
      execute in interface CommandAction<T extends AbstractServerCommandSource<T>>
      Mappings:
      Namespace Name Mixin selector
      official execute Lgn;execute(Lgo;Lgq;)V
      intermediary execute Lnet/minecraft/class_8853;execute(Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
      named execute Lnet/minecraft/command/CommandAction;execute(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V