Class SingleCommandAction.Sourced<T extends AbstractServerCommandSource<T>>

java.lang.Object
net.minecraft.command.SingleCommandAction<T>
net.minecraft.command.SingleCommandAction.Sourced<T>
All Implemented Interfaces:
SourcedCommandAction<T>
Enclosing class:
SingleCommandAction<T extends AbstractServerCommandSource<T>>

public static class SingleCommandAction.Sourced<T extends AbstractServerCommandSource<T>> extends SingleCommandAction<T> implements SourcedCommandAction<T>
Mappings:
Namespace Name
named net/minecraft/command/SingleCommandAction$Sourced
intermediary net/minecraft/class_8858$class_8861
official hu$c
  • Constructor Details

    • Sourced

      public Sourced(String command, com.mojang.brigadier.context.ContextChain<T> contextChain)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/SingleCommandAction;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)V
      intermediary <init> Lnet/minecraft/class_8858;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)V
      official <init> Lhu;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)V
  • Method Details

    • execute

      public void execute(T t, CommandExecutionContext<T> commandExecutionContext, Frame frame)
      Specified by:
      execute in interface SourcedCommandAction<T extends AbstractServerCommandSource<T>>
      Mappings:
      Namespace Name Mixin selector
      named execute Lnet/minecraft/command/SingleCommandAction$Sourced;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
      intermediary method_54412 Lnet/minecraft/class_8858$class_8861;method_54412(Lnet/minecraft/class_8839;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
      official a Lhu$c;a(Ler;Lho;Lhq;)V