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