类 PublishCommand


  • public class PublishCommand
    extends Object
    Mappings:
    Namespace Name
    official yx
    intermediary net/minecraft/class_3093
    named net/minecraft/server/command/PublishCommand
    • 字段详细资料

      • FAILED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lyx;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 Lyx;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;
    • 构造器详细资料

      • PublishCommand

        public PublishCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lyx;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
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lyx;a(Ldg;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