类 ParticleCommand


  • public class ParticleCommand
    extends Object
    Mappings:
    Namespace Name
    official yv
    intermediary net/minecraft/class_3089
    named net/minecraft/server/command/ParticleCommand
    • 字段详细资料

      • FAILED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lyv;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_13673 Lnet/minecraft/class_3089;field_13673:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named FAILED_EXCEPTION Lnet/minecraft/server/command/ParticleCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • 构造器详细资料

      • ParticleCommand

        public ParticleCommand()
    • 方法详细资料

      • register

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

        private static int execute​(ServerCommandSource source,
                                   ParticleEffect parameters,
                                   Vec3d pos,
                                   Vec3d delta,
                                   float speed,
                                   int count,
                                   boolean force,
                                   Collection<ServerPlayerEntity> viewers)
                            throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lyv;a(Ldg;Lho;Ldma;Ldma;FIZLjava/util/Collection;)I
        intermediary method_13491 Lnet/minecraft/class_3089;method_13491(Lnet/minecraft/class_2168;Lnet/minecraft/class_2394;Lnet/minecraft/class_243;Lnet/minecraft/class_243;FIZLjava/util/Collection;)I
        named execute Lnet/minecraft/server/command/ParticleCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;FIZLjava/util/Collection;)I