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
spawnParticleOnFace
(Level p_216307_, BlockPos p_216308_, Direction p_216309_, ParticleOptions p_216310_, Vec3 p_216311_, double p_216312_) 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_)
-
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_)
-