net.minecraft.server.commands

public class GameModeCommand

ua
net.minecraft.server.commands.GameModeCommand
net.minecraft.class_3064
net.minecraft.server.command.GameModeCommand
net.minecraft.command.impl.GameModeCommand
net.minecraft.server.v1_15_R1.CommandGamemode

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<cq> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13388(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_198482_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static void
a(cq arg0, xe arg1, bjq arg2)
logGamemodeChange(CommandSourceStack arg0, ServerPlayer arg1, GameType arg2)
method_13390(class_2168 arg0, class_3222 arg1, class_1934 arg2)
setGameMode(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode)
func_208517_a(CommandSource arg0, ServerPlayerEntity arg1, GameType arg2)
private static int
a(com.mojang.brigadier.context.CommandContext<cq> arg0, Collection<xe> arg1, bjq arg2)
setMode(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, Collection<ServerPlayer> arg1, GameType arg2)
method_13387(com.mojang.brigadier.context.CommandContext<class_2168> arg0, Collection<class_3222> arg1, class_1934 arg2)
execute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode)
func_198484_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, Collection<ServerPlayerEntity> arg1, GameType arg2)