Package net.minecraft.server.commands
Class WhitelistCommand
java.lang.Object
net.minecraft.server.commands.WhitelistCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intaddPlayers(CommandSourceStack p_139211_, Collection<com.mojang.authlib.GameProfile> p_139212_) private static intdisableWhitelist(CommandSourceStack p_139226_) private static intenableWhitelist(CommandSourceStack p_139219_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139202_) private static intreload(CommandSourceStack p_139209_) private static intremovePlayers(CommandSourceStack p_139221_, Collection<com.mojang.authlib.GameProfile> p_139222_) private static intshowList(CommandSourceStack p_139230_) 
- 
Field Details- 
ERROR_ALREADY_ENABLEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_ENABLED
- 
ERROR_ALREADY_DISABLEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_DISABLED
- 
ERROR_ALREADY_WHITELISTEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_WHITELISTED
- 
ERROR_NOT_WHITELISTEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NOT_WHITELISTED
 
- 
- 
Constructor Details- 
WhitelistCommandpublic WhitelistCommand()
 
- 
- 
Method Details- 
register
- 
reload
- 
addPlayersprivate static int addPlayers(CommandSourceStack p_139211_, Collection<com.mojang.authlib.GameProfile> p_139212_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
removePlayersprivate static int removePlayers(CommandSourceStack p_139221_, Collection<com.mojang.authlib.GameProfile> p_139222_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
enableWhitelistprivate static int enableWhitelist(CommandSourceStack p_139219_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
disableWhitelistprivate static int disableWhitelist(CommandSourceStack p_139226_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
showList
 
-