Class ParticleUtil

java.lang.Object
net.minecraft.particle.ParticleUtil

public class ParticleUtil extends Object
Mappings:
Namespace Name
named net/minecraft/particle/ParticleUtil
intermediary net/minecraft/class_5945
official bai
  • Constructor Details

    • ParticleUtil

      public ParticleUtil()
  • Method Details

    • spawnParticle

      public static void spawnParticle(World world, BlockPos pos, ParticleEffect effect, IntProvider count)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticle Lnet/minecraft/particle/ParticleUtil;spawnParticle(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/util/math/intprovider/IntProvider;)V
      intermediary method_34682 Lnet/minecraft/class_5945;method_34682(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2394;Lnet/minecraft/class_6017;)V
      official a Lbai;a(Ldhh;Ljh;Llq;Lbsn;)V
    • spawnParticles

      public static void spawnParticles(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticles Lnet/minecraft/particle/ParticleUtil;spawnParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/util/math/intprovider/IntProvider;Lnet/minecraft/util/math/Direction;Ljava/util/function/Supplier;D)V
      intermediary method_41305 Lnet/minecraft/class_5945;method_41305(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2394;Lnet/minecraft/class_6017;Lnet/minecraft/class_2350;Ljava/util/function/Supplier;D)V
      official a Lbai;a(Ldhh;Ljh;Llq;Lbsn;Ljm;Ljava/util/function/Supplier;D)V
    • getRandomVelocity

      private static Vec3d getRandomVelocity(Random random)
      Mappings:
      Namespace Name Mixin selector
      named getRandomVelocity Lnet/minecraft/particle/ParticleUtil;getRandomVelocity(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/Vec3d;
      intermediary method_41306 Lnet/minecraft/class_5945;method_41306(Lnet/minecraft/class_5819;)Lnet/minecraft/class_243;
      official a Lbai;a(Lbam;)Lfbx;
    • spawnParticle

      public static void spawnParticle(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticle Lnet/minecraft/particle/ParticleUtil;spawnParticle(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;DLnet/minecraft/particle/ParticleEffect;Lnet/minecraft/util/math/intprovider/UniformIntProvider;)V
      intermediary method_34683 Lnet/minecraft/class_5945;method_34683(Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;DLnet/minecraft/class_2394;Lnet/minecraft/class_6019;)V
      official a Lbai;a(Ljm$a;Ldhh;Ljh;DLlq;Lbst;)V
    • spawnParticle

      public static void spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticle Lnet/minecraft/particle/ParticleUtil;spawnParticle(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/util/math/Vec3d;D)V
      intermediary method_34681 Lnet/minecraft/class_5945;method_34681(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2394;Lnet/minecraft/class_243;D)V
      official a Lbai;a(Ldhh;Ljh;Ljm;Llq;Lfbx;D)V
    • spawnParticle

      public static void spawnParticle(World world, BlockPos pos, Random random, ParticleEffect effect)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticle Lnet/minecraft/particle/ParticleUtil;spawnParticle(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/particle/ParticleEffect;)V
      intermediary method_49099 Lnet/minecraft/class_5945;method_49099(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;Lnet/minecraft/class_2394;)V
      official a Lbai;a(Ldhh;Ljh;Lbam;Llq;)V
    • spawnParticlesAround

      public static void spawnParticlesAround(WorldAccess world, BlockPos pos, int count, ParticleEffect effect)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticlesAround Lnet/minecraft/particle/ParticleUtil;spawnParticlesAround(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/particle/ParticleEffect;)V
      intermediary method_55636 Lnet/minecraft/class_5945;method_55636(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;ILnet/minecraft/class_2394;)V
      official a Lbai;a(Ldhi;Ljh;ILlq;)V
    • spawnParticlesAround

      public static void spawnParticlesAround(WorldAccess world, BlockPos pos, int count, double horizontalOffset, double verticalOffset, boolean force, ParticleEffect effect)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticlesAround Lnet/minecraft/particle/ParticleUtil;spawnParticlesAround(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;IDDZLnet/minecraft/particle/ParticleEffect;)V
      intermediary method_55635 Lnet/minecraft/class_5945;method_55635(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;IDDZLnet/minecraft/class_2394;)V
      official a Lbai;a(Ldhi;Ljh;IDDZLlq;)V
    • spawnSmashAttackParticles

      public static void spawnSmashAttackParticles(WorldAccess world, BlockPos pos, int count)
      Mappings:
      Namespace Name Mixin selector
      named spawnSmashAttackParticles Lnet/minecraft/particle/ParticleUtil;spawnSmashAttackParticles(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;I)V
      intermediary method_58595 Lnet/minecraft/class_5945;method_58595(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;I)V
      official a Lbai;a(Ldhi;Ljh;I)V