From 0ce4b7a0ed936baa85fa806d12accd205ab9127a Mon Sep 17 00:00:00 2001 From: SammySemicolon <69329424+SammySemicolon@users.noreply.github.com> Date: Sat, 21 Oct 2023 20:20:00 +0200 Subject: [PATCH] Update SpiritAltarParticleEffects.java --- .../malum/visual_effects/SpiritAltarParticleEffects.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sammy/malum/visual_effects/SpiritAltarParticleEffects.java b/src/main/java/com/sammy/malum/visual_effects/SpiritAltarParticleEffects.java index 26307e9ee..b3321c9d4 100644 --- a/src/main/java/com/sammy/malum/visual_effects/SpiritAltarParticleEffects.java +++ b/src/main/java/com/sammy/malum/visual_effects/SpiritAltarParticleEffects.java @@ -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.*; @@ -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);