Package net.minecraft.command.impl
Class WhitelistCommand
- java.lang.Object
-
- net.minecraft.command.impl.WhitelistCommand
-
public class WhitelistCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_DISABLED
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_ENABLED
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_WHITELISTED
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_NOT_WHITELISTED
-
Constructor Summary
Constructors Constructor Description WhitelistCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
addPlayers(CommandSource p_198880_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198880_1_)
private static int
disableWhitelist(CommandSource p_198885_0_)
private static int
enableWhitelist(CommandSource p_198884_0_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198873_0_)
private static int
reload(CommandSource p_198883_0_)
private static int
removePlayers(CommandSource p_198876_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198876_1_)
private static int
showList(CommandSource p_198886_0_)
-
-
-
Field Detail
-
ERROR_ALREADY_ENABLED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_ENABLED
-
ERROR_ALREADY_DISABLED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_DISABLED
-
ERROR_ALREADY_WHITELISTED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_WHITELISTED
-
ERROR_NOT_WHITELISTED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NOT_WHITELISTED
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198873_0_)
-
reload
private static int reload(CommandSource p_198883_0_)
-
addPlayers
private static int addPlayers(CommandSource p_198880_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198880_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
removePlayers
private static int removePlayers(CommandSource p_198876_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198876_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
enableWhitelist
private static int enableWhitelist(CommandSource p_198884_0_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
disableWhitelist
private static int disableWhitelist(CommandSource p_198885_0_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
showList
private static int showList(CommandSource p_198886_0_)
-
-