Package net.minecraft.command.impl
Class GameModeCommand
java.lang.Object
net.minecraft.command.impl.GameModeCommand
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static voidlogGamemodeChange(CommandSource p_208517_0_, ServerPlayerEntity p_208517_1_, GameType p_208517_2_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198482_0_) private static intsetMode(com.mojang.brigadier.context.CommandContext<CommandSource> p_198484_0_, Collection<ServerPlayerEntity> p_198484_1_, GameType p_198484_2_) 
- 
Constructor Details- 
GameModeCommandpublic GameModeCommand()
 
- 
- 
Method Details- 
register
- 
logGamemodeChangeprivate static void logGamemodeChange(CommandSource p_208517_0_, ServerPlayerEntity p_208517_1_, GameType p_208517_2_) 
- 
setModeprivate static int setMode(com.mojang.brigadier.context.CommandContext<CommandSource> p_198484_0_, Collection<ServerPlayerEntity> p_198484_1_, GameType p_198484_2_) 
 
-