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_316553_, BlockPos p_316882_, int p_316412_, ParticleOptions p_316308_) 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_316549_, BlockPos p_316335_, int p_316207_, double p_316351_, double p_316421_, boolean p_316563_, ParticleOptions p_316241_) 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_338535_, BlockPos p_338284_, int p_338684_)
-
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_316553_, BlockPos p_316882_, int p_316412_, ParticleOptions p_316308_) -
spawnParticles
public static void spawnParticles(LevelAccessor p_316549_, BlockPos p_316335_, int p_316207_, double p_316351_, double p_316421_, boolean p_316563_, ParticleOptions p_316241_) -
spawnSmashAttackParticles
public static void spawnSmashAttackParticles(LevelAccessor p_338535_, BlockPos p_338284_, int p_338684_)
-