Skip to content

Commit

Permalink
Update SpiritAltarParticleEffects.java
Browse files Browse the repository at this point in the history
  • Loading branch information
SammySemicolon committed Oct 21, 2023
1 parent 1b7aa84 commit 0ce4b7a
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import net.minecraft.world.phys.*;
import team.lodestar.lodestone.helpers.*;
import team.lodestar.lodestone.systems.blockentity.*;
import team.lodestar.lodestone.systems.easing.*;
import team.lodestar.lodestone.systems.particle.builder.*;

import java.util.*;
Expand Down Expand Up @@ -109,9 +110,9 @@ public static void craftItemParticles(SpiritAltarBlockEntity altar, ColorEffectD
}
for (int i = 0; i < 24; i++) {
MalumSpiritType cyclingSpiritType = colorData.getCyclingColorRecord().spiritType();
float xVelocity = RandomHelper.randomBetween(random, -0.075f, 0.075f);
float yVelocity = RandomHelper.randomBetween(random, 0.2f, 0.4f);
float zVelocity = RandomHelper.randomBetween(random, -0.075f, 0.075f);
float xVelocity = RandomHelper.randomBetween(random, Easing.CUBIC_OUT, -0.075f, 0.075f);
float yVelocity = RandomHelper.randomBetween(random, 0.2f, 0.5f);
float zVelocity = RandomHelper.randomBetween(random, Easing.CUBIC_OUT, -0.075f, 0.075f);
float gravityStrength = RandomHelper.randomBetween(random, 0.75f, 1f);
if (random.nextFloat() < 0.85f) {
var sparkParticles = SparkParticleEffects.spiritMotionSparks(level, targetPos, cyclingSpiritType);
Expand Down

0 comments on commit 0ce4b7a

Please sign in to comment.