Class ParticleCommand

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

public class ParticleCommand extends Object
Mappings:
Namespace Name
official afi
intermediary net/minecraft/class_3089
named net/minecraft/server/command/ParticleCommand
  • Field Details

    • FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Lafi;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;
  • Constructor Details

    • ParticleCommand

      public ParticleCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
      Mappings:
      Namespace Name Mixin selector
      official a Lafi;a(Lcom/mojang/brigadier/CommandDispatcher;Ldm;)V
      intermediary method_13486 Lnet/minecraft/class_3089;method_13486(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V
      named register Lnet/minecraft/server/command/ParticleCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)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
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lafi;a(Lds;Lit;Leei;Leei;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