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 intexecute(ServerCommandSource source, GameMode defaultGameMode)static voidregister(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
-