fixed burgeoning particles showing up on the whole tree instead of just the root
@@ -3,6 +3,7 @@ package com.ferreusveritas.dynamictrees.systems.substances;
import com.ferreusveritas.dynamictrees.api.TreeHelper;
import com.ferreusveritas.dynamictrees.api.substances.ISubstanceEffect;
import net.minecraft.particles.ParticleTypes;
+import net.minecraft.util.Direction;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
@@ -26,7 +27,7 @@ public class GrowthSubstance implements ISubstanceEffect {
if (world.isClientSide) {
if (deltaTicks % this.ticksPerParticlePulse == 0) {
- TreeHelper.treeParticles(world, rootPos, ParticleTypes.EFFECT, 2);
+ TreeHelper.rootParticles(world, rootPos, Direction.UP, ParticleTypes.EFFECT, 1);
}
} else {
if (deltaTicks % this.ticksPerPulse == 0) {
