Package net.minecraft.server.command
Class DefaultGameModeCommand
java.lang.Object
net.minecraft.server.command.DefaultGameModeCommand
public class DefaultGameModeCommand extends Object
-
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) -
execute
-