Class PublishCommand

java.lang.Object
net.minecraft.server.command.PublishCommand

public class PublishCommand
extends Object
  • Field Details

    • FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
    • ALREADY_PUBLISHED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ALREADY_PUBLISHED_EXCEPTION
  • Constructor Details

    • PublishCommand

      public PublishCommand()
  • Method Details

    • register

      public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
    • execute

      private static int execute​(ServerCommandSource source, int port) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException