Class ParticleUtil

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

public class ParticleUtil extends Object
Mappings:
Namespace Name
official apm
intermediary net/minecraft/class_5945
named net/minecraft/client/util/ParticleUtil
  • 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
      official a Lapm;a(Lcmi;Lgt;Lis;Lbdd;)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
      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
    • 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
      official a Lapm;a(Lcmi;Lgt;Lis;Lbdd;Lgz;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
      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
    • getRandomVelocity

      private static Vec3d getRandomVelocity(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lapm;a(Lapo;)Lede;
      intermediary method_41306 Lnet/minecraft/class_5945;method_41306(Lnet/minecraft/class_5819;)Lnet/minecraft/class_243;
      named getRandomVelocity Lnet/minecraft/client/util/ParticleUtil;getRandomVelocity(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/Vec3d;
    • spawnParticle

      public static void spawnParticle(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range)
      Mappings:
      Namespace Name Mixin selector
      official a Lapm;a(Lgz$a;Lcmi;Lgt;DLis;Lbdj;)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
      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
    • spawnParticle

      public static void spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier)
      Mappings:
      Namespace Name Mixin selector
      official a Lapm;a(Lcmi;Lgt;Lgz;Lis;Lede;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
      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
    • spawnParticle

      public static void spawnParticle(World world, BlockPos pos, Random random, ParticleEffect effect)
      Mappings:
      Namespace Name Mixin selector
      official a Lapm;a(Lcmi;Lgt;Lapo;Lis;)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
      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