类 SummonCommand


  • public class SummonCommand
    extends Object
    Mappings:
    Namespace Name
    official zq
    intermediary net/minecraft/class_3138
    named net/minecraft/server/command/SummonCommand
    • 字段详细资料

      • FAILED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lzq;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_13741 Lnet/minecraft/class_3138;field_13741:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named FAILED_EXCEPTION Lnet/minecraft/server/command/SummonCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • FAILED_UUID_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_UUID_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official b Lzq;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_26629 Lnet/minecraft/class_3138;field_26629:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named FAILED_UUID_EXCEPTION Lnet/minecraft/server/command/SummonCommand;FAILED_UUID_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • INVALID_POSITION_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official c Lzq;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_22254 Lnet/minecraft/class_3138;field_22254:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named INVALID_POSITION_EXCEPTION Lnet/minecraft/server/command/SummonCommand;INVALID_POSITION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • 构造器详细资料

      • SummonCommand

        public SummonCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lzq;a(Lcom/mojang/brigadier/CommandDispatcher;)V
        intermediary method_13690 Lnet/minecraft/class_3138;method_13690(Lcom/mojang/brigadier/CommandDispatcher;)V
        named register Lnet/minecraft/server/command/SummonCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      • execute

        private static int execute​(ServerCommandSource source,
                                   Identifier entity,
                                   Vec3d pos,
                                   CompoundTag nbt,
                                   boolean initialize)
                            throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lzq;a(Ldg;Lwp;Ldma;Lmv;Z)I
        intermediary method_13694 Lnet/minecraft/class_3138;method_13694(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;Lnet/minecraft/class_243;Lnet/minecraft/class_2487;Z)I
        named execute Lnet/minecraft/server/command/SummonCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/nbt/CompoundTag;Z)I