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 hu$b
  • Field Details

    • source

      private final T extends AbstractServerCommandSource<T> 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 Lhu$b;b:Ler;
  • 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> Lhu$b;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Ler;)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
      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 Lhn;execute(Lho;Lhq;)V