Class PublishCommand

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

public class PublishCommand extends Object
Mappings:
Namespace Name
official aey
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 Laey;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 Laey;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 Laey;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, boolean allowCommands, @Nullable @Nullable GameMode gameMode) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Laey;a(Ldn;IZLcjt;)I
      intermediary method_13509 Lnet/minecraft/class_3093;method_13509(Lnet/minecraft/class_2168;IZLnet/minecraft/class_1934;)I
      named execute Lnet/minecraft/server/command/PublishCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;IZLnet/minecraft/world/GameMode;)I
    • getStartedText

      public static MutableText getStartedText(int port)
      Mappings:
      Namespace Name Mixin selector
      official a Laey;a(I)Ltf;
      intermediary method_46869 Lnet/minecraft/class_3093;method_46869(I)Lnet/minecraft/class_5250;
      named getStartedText Lnet/minecraft/server/command/PublishCommand;getStartedText(I)Lnet/minecraft/text/MutableText;