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 ays
  • 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 Lays;a(Ldcw;Ljd;Llk;Lbpw;)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 Lays;a(Ldcw;Ljd;Llk;Lbpw;Lji;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 Lays;a(Layw;)Lexc;
    • 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 Lays;a(Lji$a;Ldcw;Ljd;DLlk;Lbqc;)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 Lays;a(Ldcw;Ljd;Lji;Llk;Lexc;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 Lays;a(Ldcw;Ljd;Layw;Llk;)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 Lays;a(Ldcx;Ljd;ILlk;)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 Lays;a(Ldcx;Ljd;IDDZLlk;)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 Lays;a(Ldcx;Ljd;I)V