Class ParticleUtil

java.lang.Object
net.minecraft.client.util.ParticleUtil

public class ParticleUtil extends Object
Mappings:
Namespace Name
named net/minecraft/client/util/ParticleUtil
intermediary net/minecraft/class_5945
official ayk
  • 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/client/util/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 Layk;a(Ldcg;Lja;Llh;Lbpm;)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/client/util/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 Layk;a(Ldcg;Lja;Llh;Lbpm;Ljf;Ljava/util/function/Supplier;D)V
    • getRandomVelocity

      private static Vec3d getRandomVelocity(Random random)
      Mappings:
      Namespace Name Mixin selector
      named getRandomVelocity Lnet/minecraft/client/util/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 Layk;a(Layo;)Lewh;
    • 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/client/util/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 Layk;a(Ljf$a;Ldcg;Lja;DLlh;Lbps;)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/client/util/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 Layk;a(Ldcg;Lja;Ljf;Llh;Lewh;D)V
    • spawnParticle

      public static void spawnParticle(World world, BlockPos pos, Random random, ParticleEffect effect)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticle Lnet/minecraft/client/util/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 Layk;a(Ldcg;Lja;Layo;Llh;)V
    • spawnParticlesAround

      public static void spawnParticlesAround(WorldAccess world, BlockPos pos, int count, ParticleEffect effect)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticlesAround Lnet/minecraft/client/util/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 Layk;a(Ldch;Lja;ILlh;)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/client/util/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 Layk;a(Ldch;Lja;IDDZLlh;)V
    • spawnSmashAttackParticles

      public static void spawnSmashAttackParticles(WorldAccess world, BlockPos pos, int count)
      Mappings:
      Namespace Name Mixin selector
      named spawnSmashAttackParticles Lnet/minecraft/client/util/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 Layk;a(Ldch;Lja;I)V