Class OpCommand


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

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

      Constructors 
      Constructor Description
      OpCommand()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static int opPlayers​(CommandSource p_198542_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198542_1_)  
      static void register​(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198541_0_)  
      • Methods inherited from class java.lang.Object

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

      • ERROR_ALREADY_OP

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

      • OpCommand

        public OpCommand()
    • Method Detail

      • register

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

        private static int opPlayers​(CommandSource p_198542_0_,
                                     java.util.Collection<com.mojang.authlib.GameProfile> p_198542_1_)
                              throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Throws:
        com.mojang.brigadier.exceptions.CommandSyntaxException