Class PublishCommand


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

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

      Constructors 
      Constructor Description
      PublishCommand()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static int publish​(CommandSource p_198584_0_, int p_198584_1_)  
      static void register​(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198581_0_)  
      • Methods inherited from class java.lang.Object

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

      • ERROR_FAILED

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED
      • ERROR_ALREADY_PUBLISHED

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_ALREADY_PUBLISHED
    • Constructor Detail

      • PublishCommand

        public PublishCommand()
    • Method Detail

      • register

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

        private static int publish​(CommandSource p_198584_0_,
                                   int p_198584_1_)
                            throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Throws:
        com.mojang.brigadier.exceptions.CommandSyntaxException