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
official gu$c
intermediary net/minecraft/class_8858$class_8861
named net/minecraft/command/SingleCommandAction$Sourced
  • Constructor Details

    • Sourced

      public Sourced(String command, com.mojang.brigadier.context.ContextChain<T> contextChain)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgu;<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
      named <init> Lnet/minecraft/command/SingleCommandAction;<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
      official a Lgu$c;a(Ldu;Lgo;Lgq;)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
      named execute Lnet/minecraft/command/SingleCommandAction$Sourced;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V