Package net.minecraft.server.commands
Class DefaultGameModeCommands
java.lang.Object
net.minecraft.server.commands.DefaultGameModeCommands
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) private static intsetMode(CommandSourceStack pCommandSource, GameType pGamemode) Sets theGameTypeof the player who ran the command.
-
Constructor Details
-
DefaultGameModeCommands
public DefaultGameModeCommands()
-
-
Method Details
-
register
-
setMode
Sets theGameTypeof the player who ran the command.
-