Package net.minecraft.server.command
Class DefaultGameModeCommand
java.lang.Object
net.minecraft.server.command.DefaultGameModeCommand
public class DefaultGameModeCommand extends Object
- Mappings:
Namespace Name official xi
intermediary net/minecraft/class_3035
named net/minecraft/server/command/DefaultGameModeCommand
-
Constructor Summary
Constructors Constructor Description DefaultGameModeCommand()
-
Method Summary
Modifier and Type Method Description private static int
execute(ServerCommandSource source, GameMode defaultGameMode)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
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
Lxi;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
- Mappings:
Namespace Name Mixin selector official a
Lxi;a(Ldb;Lbts;)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
-