net.minecraft.server.dedicated.command

public class WhitelistCommand

net.minecraft.server.commands.WhitelistCommand
net.minecraft.server.commands.WhitelistCommand
net.minecraft.class_3156
net.minecraft.server.dedicated.command.WhitelistCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_ENABLED
ERROR_ALREADY_ENABLED
field_13767
ALREADY_ON_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_DISABLED
ERROR_ALREADY_DISABLED
field_13770
ALREADY_OFF_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_WHITELISTED
ERROR_ALREADY_WHITELISTED
field_13768
ADD_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_NOT_WHITELISTED
ERROR_NOT_WHITELISTED
field_13769
REMOVE_FAILED_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13836(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
reload(CommandSourceStack source)
reload(CommandSourceStack source)
method_13850(class_2168 arg0)
executeReload(ServerCommandSource source)
private static int
addPlayers(CommandSourceStack source, Collection<NameAndId> targets)
addPlayers(CommandSourceStack source, Collection<NameAndId> targets)
method_13838(class_2168 arg0, Collection<class_11560> arg1)
executeAdd(ServerCommandSource source, Collection<PlayerConfigEntry> targets)
private static int
removePlayers(CommandSourceStack source, Collection<NameAndId> targets)
removePlayers(CommandSourceStack source, Collection<NameAndId> targets)
method_13845(class_2168 arg0, Collection<class_11560> arg1)
executeRemove(ServerCommandSource source, Collection<PlayerConfigEntry> targets)
private static int
enableWhitelist(CommandSourceStack source)
enableWhitelist(CommandSourceStack source)
method_13839(class_2168 arg0)
executeOn(ServerCommandSource source)
private static int
disableWhitelist(CommandSourceStack source)
disableWhitelist(CommandSourceStack source)
method_13837(class_2168 arg0)
executeOff(ServerCommandSource source)
private static int
showList(CommandSourceStack source)
showList(CommandSourceStack source)
method_13840(class_2168 arg0)
executeList(ServerCommandSource source)