Class PublishCommand

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

public class PublishCommand extends Object
Mappings:
Namespace Name
official aap
intermediary net/minecraft/class_3093
named net/minecraft/server/command/PublishCommand
  • Field Details

    • FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Laap;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13680 Lnet/minecraft/class_3093;field_13680:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named FAILED_EXCEPTION Lnet/minecraft/server/command/PublishCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • ALREADY_PUBLISHED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ALREADY_PUBLISHED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official b Laap;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_13679 Lnet/minecraft/class_3093;field_13679:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named ALREADY_PUBLISHED_EXCEPTION Lnet/minecraft/server/command/PublishCommand;ALREADY_PUBLISHED_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
  • Constructor Details

    • PublishCommand

      public PublishCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Laap;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13510 Lnet/minecraft/class_3093;method_13510(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/PublishCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • execute

      private static int execute(ServerCommandSource source, int port) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Laap;a(Ldm;I)I
      intermediary method_13509 Lnet/minecraft/class_3093;method_13509(Lnet/minecraft/class_2168;I)I
      named execute Lnet/minecraft/server/command/PublishCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;I)I