Class ListCommand

java.lang.Object
net.minecraft.command.AbstractCommand
net.minecraft.server.command.ListCommand
All Implemented Interfaces:
Comparable<Command>, Command

public class ListCommand
extends AbstractCommand
Mappings:
Namespace Name
official ao
intermediary net/minecraft/class_426
named net/minecraft/server/command/ListCommand
  • Constructor Details

    • ListCommand

      public ListCommand()
  • Method Details

    • getCommandName

      public String getCommandName()
      Mappings:
      Namespace Name Mixin selector
      official c Lk;c()Ljava/lang/String;
      intermediary method_5889 Lnet/minecraft/class_1606;method_5889()Ljava/lang/String;
      named getCommandName Lnet/minecraft/command/Command;getCommandName()Ljava/lang/String;
    • getPermissionLevel

      public int getPermissionLevel()
      Overrides:
      getPermissionLevel in class AbstractCommand
      Mappings:
      Namespace Name Mixin selector
      official a Li;a()I
      intermediary method_5657 Lnet/minecraft/class_1545;method_5657()I
      named getPermissionLevel Lnet/minecraft/command/AbstractCommand;getPermissionLevel()I
    • getUsageTranslationKey

      public String getUsageTranslationKey​(CommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official c Lk;c(Lm;)Ljava/lang/String;
      intermediary method_5890 Lnet/minecraft/class_1606;method_5890(Lnet/minecraft/class_1659;)Ljava/lang/String;
      named getUsageTranslationKey Lnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
    • execute

      public void execute​(CommandSource source, String[] args) throws CommandException
      Throws:
      CommandException
      Mappings:
      Namespace Name Mixin selector
      official a Lk;a(Lm;[Ljava/lang/String;)V
      intermediary method_5885 Lnet/minecraft/class_1606;method_5885(Lnet/minecraft/class_1659;[Ljava/lang/String;)V
      named execute Lnet/minecraft/command/Command;execute(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V