类 EffectCommand


  • public class EffectCommand
    extends Object
    Mappings:
    Namespace Name
    official xy
    intermediary net/minecraft/class_3043
    named net/minecraft/server/command/EffectCommand
    • 字段详细资料

      • GIVE_FAILED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GIVE_FAILED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lxy;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_13607 Lnet/minecraft/class_3043;field_13607:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named GIVE_FAILED_EXCEPTION Lnet/minecraft/server/command/EffectCommand;GIVE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • CLEAR_EVERYTHING_FAILED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CLEAR_EVERYTHING_FAILED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official b Lxy;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_13609 Lnet/minecraft/class_3043;field_13609:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named CLEAR_EVERYTHING_FAILED_EXCEPTION Lnet/minecraft/server/command/EffectCommand;CLEAR_EVERYTHING_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • CLEAR_SPECIFIC_FAILED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CLEAR_SPECIFIC_FAILED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official c Lxy;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_13608 Lnet/minecraft/class_3043;field_13608:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named CLEAR_SPECIFIC_FAILED_EXCEPTION Lnet/minecraft/server/command/EffectCommand;CLEAR_SPECIFIC_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • 构造器详细资料

      • EffectCommand

        public EffectCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lxy;a(Lcom/mojang/brigadier/CommandDispatcher;)V
        intermediary method_13229 Lnet/minecraft/class_3043;method_13229(Lcom/mojang/brigadier/CommandDispatcher;)V
        named register Lnet/minecraft/server/command/EffectCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      • executeGive

        private static int executeGive​(ServerCommandSource source,
                                       Collection<? extends Entity> targets,
                                       StatusEffect effect,
                                       @Nullable
                                       @Nullable Integer seconds,
                                       int amplifier,
                                       boolean showParticles)
                                throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lxy;a(Ldg;Ljava/util/Collection;Lasd;Ljava/lang/Integer;IZ)I
        intermediary method_13227 Lnet/minecraft/class_3043;method_13227(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_1291;Ljava/lang/Integer;IZ)I
        named executeGive Lnet/minecraft/server/command/EffectCommand;executeGive(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/entity/effect/StatusEffect;Ljava/lang/Integer;IZ)I
      • executeClear

        private static int executeClear​(ServerCommandSource source,
                                        Collection<? extends Entity> targets)
                                 throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lxy;a(Ldg;Ljava/util/Collection;)I
        intermediary method_13230 Lnet/minecraft/class_3043;method_13230(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
        named executeClear Lnet/minecraft/server/command/EffectCommand;executeClear(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
      • executeClear

        private static int executeClear​(ServerCommandSource source,
                                        Collection<? extends Entity> targets,
                                        StatusEffect effect)
                                 throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lxy;a(Ldg;Ljava/util/Collection;Lasd;)I
        intermediary method_13231 Lnet/minecraft/class_3043;method_13231(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_1291;)I
        named executeClear Lnet/minecraft/server/command/EffectCommand;executeClear(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/entity/effect/StatusEffect;)I