Package net.minecraft.server.commands
Class GameModeCommand
java.lang.Object
net.minecraft.server.commands.GameModeCommand
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static voidlogGamemodeChange(CommandSourceStack p_137738_, ServerPlayer p_137739_, GameType p_137740_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137730_) private static intsetMode(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137732_, Collection<ServerPlayer> p_137733_, GameType p_137734_) 
- 
Field Details- 
PERMISSION_LEVELpublic static final int PERMISSION_LEVEL- See Also:
 
 
- 
- 
Constructor Details- 
GameModeCommandpublic GameModeCommand()
 
- 
- 
Method Details- 
register
- 
logGamemodeChangeprivate static void logGamemodeChange(CommandSourceStack p_137738_, ServerPlayer p_137739_, GameType p_137740_) 
- 
setModeprivate static int setMode(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137732_, Collection<ServerPlayer> p_137733_, GameType p_137734_) 
 
-