Class DefaultGameModeCommand

All Implemented Interfaces:
Comparable<Command>, Command

public class DefaultGameModeCommand extends GameModeCommand
Mappings:
Namespace Name
official z
intermediary net/minecraft/class_1088
named net/minecraft/server/command/DefaultGameModeCommand
  • Constructor Details

    • DefaultGameModeCommand

      public DefaultGameModeCommand()
  • Method Details

    • getCommandName

      public String getCommandName()
      Specified by:
      getCommandName in interface Command
      Overrides:
      getCommandName in class GameModeCommand
      Mappings:
      Namespace Name Mixin selector
      official c Ll;c()Ljava/lang/String;
      intermediary method_3277 Lnet/minecraft/class_1007;method_3277()Ljava/lang/String;
      named getCommandName Lnet/minecraft/command/Command;getCommandName()Ljava/lang/String;
    • getUsageTranslationKey

      public String getUsageTranslationKey(CommandSource source)
      Specified by:
      getUsageTranslationKey in interface Command
      Overrides:
      getUsageTranslationKey in class GameModeCommand
      Mappings:
      Namespace Name Mixin selector
      official b Ll;b(Ln;)Ljava/lang/String;
      intermediary method_3275 Lnet/minecraft/class_1007;method_3275(Lnet/minecraft/class_1061;)Ljava/lang/String;
      named getUsageTranslationKey Lnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
    • method_3279

      public void method_3279(MinecraftServer minecraftServer, CommandSource commandSource, String[] string) throws CommandException
      Specified by:
      method_3279 in interface Command
      Overrides:
      method_3279 in class GameModeCommand
      Throws:
      CommandException
      Mappings:
      Namespace Name Mixin selector
      official a Ll;a(Lnet/minecraft/server/MinecraftServer;Ln;[Ljava/lang/String;)V
      intermediary method_3279 Lnet/minecraft/class_1007;method_3279(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1061;[Ljava/lang/String;)V
      named method_3279 Lnet/minecraft/command/Command;method_3279(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
    • method_13244

      protected void method_13244(GameMode gameMode, MinecraftServer minecraftServer)
      Mappings:
      Namespace Name Mixin selector
      official a Lz;a(Lajq;Lnet/minecraft/server/MinecraftServer;)V
      intermediary method_13244 Lnet/minecraft/class_1088;method_13244(Lnet/minecraft/class_1157;Lnet/minecraft/server/MinecraftServer;)V
      named method_13244 Lnet/minecraft/server/command/DefaultGameModeCommand;method_13244(Lnet/minecraft/world/GameMode;Lnet/minecraft/server/MinecraftServer;)V