Class WhitelistCommand

java.lang.Object
net.minecraft.server.commands.WhitelistCommand

public class WhitelistCommand extends Object
  • Field Details

    • 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
  • Constructor Details

    • WhitelistCommand

      public WhitelistCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139202_)
    • reload

      private static int reload(CommandSourceStack p_139209_)
    • addPlayers

      private 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
    • removePlayers

      private 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
    • enableWhitelist

      private static int enableWhitelist(CommandSourceStack p_139219_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • disableWhitelist

      private static int disableWhitelist(CommandSourceStack p_139226_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • showList

      private static int showList(CommandSourceStack p_139230_)