Class DefaultGameModeCommand

java.lang.Object
net.minecraft.server.command.DefaultGameModeCommand

public class DefaultGameModeCommand extends Object
Mappings:
Namespace Name
official ajb
intermediary net/minecraft/class_3035
named net/minecraft/server/command/DefaultGameModeCommand
  • Constructor Details

    • DefaultGameModeCommand

      public DefaultGameModeCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lajb;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13166 Lnet/minecraft/class_3035;method_13166(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/DefaultGameModeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • execute

      private static int execute(ServerCommandSource source, GameMode defaultGameMode)
      Mappings:
      Namespace Name Mixin selector
      official a Lajb;a(Lds;Lctm;)I
      intermediary method_13167 Lnet/minecraft/class_3035;method_13167(Lnet/minecraft/class_2168;Lnet/minecraft/class_1934;)I
      named execute Lnet/minecraft/server/command/DefaultGameModeCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/world/GameMode;)I