Class DefaultGameModeCommand

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

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

    • DefaultGameModeCommand

      public DefaultGameModeCommand()
  • Method Details

    • register

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

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