net.minecraft.server.commands

public class WhitelistCommand

agu
net.minecraft.server.commands.WhitelistCommand
net.minecraft.class_3156
net.minecraft.server.dedicated.command.WhitelistCommand
net.minecraft.src.C_5391_
net.minecraft.server.commands.CommandWhitelist

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_ALREADY_ENABLED
field_13767
ALREADY_ON_EXCEPTION
f_139191_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_ALREADY_DISABLED
field_13770
ALREADY_OFF_EXCEPTION
f_139192_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_ALREADY_WHITELISTED
field_13768
ADD_FAILED_EXCEPTION
f_139193_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_NOT_WHITELISTED
field_13769
REMOVE_FAILED_EXCEPTION
f_139194_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ds> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13836(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_139201_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_139202_)
private static int
a(ds arg0)
reload(CommandSourceStack arg0)
method_13850(class_2168 arg0)
executeReload(ServerCommandSource source)
m_139208_(C_2969_ p_139209_)
private static int
a(ds arg0, Collection<com.mojang.authlib.GameProfile> arg1)
addPlayers(CommandSourceStack arg0, Collection<com.mojang.authlib.GameProfile> arg1)
method_13838(class_2168 arg0, Collection<com.mojang.authlib.GameProfile> arg1)
executeAdd(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)
m_139210_(C_2969_ p_139211_, Collection<com.mojang.authlib.GameProfile> p_139212_)
private static int
b(ds arg0, Collection<com.mojang.authlib.GameProfile> arg1)
removePlayers(CommandSourceStack arg0, Collection<com.mojang.authlib.GameProfile> arg1)
method_13845(class_2168 arg0, Collection<com.mojang.authlib.GameProfile> arg1)
executeRemove(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)
m_139220_(C_2969_ p_139221_, Collection<com.mojang.authlib.GameProfile> p_139222_)
private static int
b(ds arg0)
enableWhitelist(CommandSourceStack arg0)
method_13839(class_2168 arg0)
executeOn(ServerCommandSource source)
m_139218_(C_2969_ p_139219_)
private static int
c(ds arg0)
disableWhitelist(CommandSourceStack arg0)
method_13837(class_2168 arg0)
executeOff(ServerCommandSource source)
m_139225_(C_2969_ p_139226_)
private static int
d(ds arg0)
showList(CommandSourceStack arg0)
method_13840(class_2168 arg0)
executeList(ServerCommandSource source)
m_139229_(C_2969_ p_139230_)