Skip to content

Commit

Permalink
Update WeepingWellParticleEffects.java
Browse files Browse the repository at this point in the history
  • Loading branch information
SammySemicolon committed Oct 29, 2023
1 parent 1f13e95 commit 6a3325a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ public static void radiantWeepingWellParticles(VoidConduitBlockEntity voidCondui
final BlockPos blockPos = voidConduit.getBlockPos();
Random rand = level.random;
int lifetime = RandomHelper.randomBetween(rand, 40, 80);
float xMotion = RandomHelper.randomBetween(rand, -0.02f, 0.02f);
float yMotion = 0.05f;
float zMotion = RandomHelper.randomBetween(rand, -0.02f, 0.02f);
float xMotion = 0;
float yMotion = RandomHelper.randomBetween(rand, -0.05f, 0.05f);
float zMotion = 0;
Vec3 motion = new Vec3(xMotion, yMotion, zMotion);
DirectionalParticleBuilder.create(ParticleRegistry.SQUARE)
.setDirection(motion.normalize().scale(Math.PI/2f))
.setDirection(motion.normalize().scale(Math.PI*2))
.setLifetime(lifetime)
.setMotion(motion)
.setRenderType(LodestoneWorldParticleRenderType.LUMITRANSPARENT)
Expand Down

0 comments on commit 6a3325a

Please sign in to comment.