Package net.minecraft.command.impl
Class GameModeCommand
- java.lang.Object
-
- net.minecraft.command.impl.GameModeCommand
-
public class GameModeCommand extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GameModeCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private 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_, java.util.Collection<ServerPlayerEntity> p_198484_1_, GameType p_198484_2_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198482_0_)
-
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_, java.util.Collection<ServerPlayerEntity> p_198484_1_, GameType p_198484_2_)
-
-