Class ParticleUtil

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

public class ParticleUtil extends Object
Mappings:
Namespace Name
official apd
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 Lapd;a(Lcmm;Lgu;Lit;Lbdc;)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 Lapd;a(Lcmm;Lgu;Lit;Lbdc;Lha;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 Lapd;a(Lapf;)Leei;
      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 Lapd;a(Lha$a;Lcmm;Lgu;DLit;Lbdi;)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 Lapd;a(Lcmm;Lgu;Lha;Lit;Leei;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 Lapd;a(Lcmm;Lgu;Lapf;Lit;)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