Class BanCommand


  • public class BanCommand
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_BANNED  
    • Constructor Summary

      Constructors 
      Constructor Description
      BanCommand()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static int banPlayers​(CommandSource p_198236_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198236_1_, ITextComponent p_198236_2_)  
      static void register​(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198235_0_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ERROR_ALREADY_BANNED

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_BANNED
    • Constructor Detail

      • BanCommand

        public BanCommand()
    • Method Detail

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198235_0_)
      • banPlayers

        private static int banPlayers​(CommandSource p_198236_0_,
                                      java.util.Collection<com.mojang.authlib.GameProfile> p_198236_1_,
                                      @Nullable
                                      ITextComponent p_198236_2_)
                               throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Throws:
        com.mojang.brigadier.exceptions.CommandSyntaxException