Package net.minecraft.util
Class ParticleUtils
java.lang.Object
net.minecraft.util.ParticleUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static Vec3
getRandomSpeedRanges
(RandomSource p_216303_) static void
spawnParticleBelow
(Level p_273159_, BlockPos p_273452_, RandomSource p_273538_, ParticleOptions p_273419_) static void
spawnParticleInBlock
(LevelAccessor p_335531_, BlockPos p_329785_, int p_335673_, ParticleOptions p_330338_) static void
spawnParticleOnFace
(Level p_216307_, BlockPos p_216308_, Direction p_216309_, ParticleOptions p_216310_, Vec3 p_216311_, double p_216312_) static void
spawnParticles
(LevelAccessor p_332146_, BlockPos p_333994_, int p_332880_, double p_335286_, double p_334021_, boolean p_328793_, ParticleOptions p_329517_) static void
spawnParticlesAlongAxis
(Direction.Axis p_144968_, Level p_144969_, BlockPos p_144970_, double p_144971_, ParticleOptions p_144972_, UniformInt p_144973_) static void
spawnParticlesOnBlockFace
(Level p_216319_, BlockPos p_216320_, ParticleOptions p_216321_, IntProvider p_216322_, Direction p_216323_, Supplier<Vec3> p_216324_, double p_216325_) static void
spawnParticlesOnBlockFaces
(Level p_216314_, BlockPos p_216315_, ParticleOptions p_216316_, IntProvider p_216317_) static void
spawnSmashAttackParticles
(LevelAccessor p_333323_, BlockPos p_331250_, int p_329230_)
-
Constructor Details
-
ParticleUtils
public ParticleUtils()
-
-
Method Details
-
spawnParticlesOnBlockFaces
public static void spawnParticlesOnBlockFaces(Level p_216314_, BlockPos p_216315_, ParticleOptions p_216316_, IntProvider p_216317_) -
spawnParticlesOnBlockFace
public static void spawnParticlesOnBlockFace(Level p_216319_, BlockPos p_216320_, ParticleOptions p_216321_, IntProvider p_216322_, Direction p_216323_, Supplier<Vec3> p_216324_, double p_216325_) -
getRandomSpeedRanges
-
spawnParticlesAlongAxis
public static void spawnParticlesAlongAxis(Direction.Axis p_144968_, Level p_144969_, BlockPos p_144970_, double p_144971_, ParticleOptions p_144972_, UniformInt p_144973_) -
spawnParticleOnFace
public static void spawnParticleOnFace(Level p_216307_, BlockPos p_216308_, Direction p_216309_, ParticleOptions p_216310_, Vec3 p_216311_, double p_216312_) -
spawnParticleBelow
public static void spawnParticleBelow(Level p_273159_, BlockPos p_273452_, RandomSource p_273538_, ParticleOptions p_273419_) -
spawnParticleInBlock
public static void spawnParticleInBlock(LevelAccessor p_335531_, BlockPos p_329785_, int p_335673_, ParticleOptions p_330338_) -
spawnParticles
public static void spawnParticles(LevelAccessor p_332146_, BlockPos p_333994_, int p_332880_, double p_335286_, double p_334021_, boolean p_328793_, ParticleOptions p_329517_) -
spawnSmashAttackParticles
public static void spawnSmashAttackParticles(LevelAccessor p_333323_, BlockPos p_331250_, int p_329230_)
-