@@ -0,0 +1,1197 @@
+package de.slikey.effectlib.effect;%0A%0Aimport de.slikey.effectlib.EffectManager;%0Aimport de.slikey.effectlib.EffectType;%0Aimport de.slikey.effectlib.util.ParticleEffect;%0Aimport de.slikey.effectlib.util.RandomUtils;%0Aimport org.bukkit.Location;%0Aimport org.bukkit.entity.Entity;%0Aimport org.bukkit.util.Vector;%0A%0Apublic class SphereEntityEffect extends EntityEffect %7B%0A%09/**%0A%09 * ParticleType of spawned particle%0A%09 */%0A%09public ParticleEffect particle = ParticleEffect.MOB_SPELL;%0A%0A%09/**%0A%09 * Radius of the sphere%0A%09 */%0A%09public double radius = 0.6;%0A%0A    /**%0A     * Y-Offset of the sphere%0A     */%0A    public double yOffset = 1.5;%0A%0A%09/**%0A%09 * Particles to display%0A%09 */%0A%09public int particles = 50;%0A%0A%09public SphereEntityEffect(EffectManager effectManager, Entity entity) %7B%0A%09%09super(effectManager, entity);%0A%09%09type = EffectType.REPEATING;%0A%09%09iterations = 500;%0A%09%09period = 1;%0A%09%7D%0A%0A%09@Override%0A%09public void onRun() %7B%0A%09%09for (int i = 0; i %3C particles; i++) %7B%0A            Location location = entity.getLocation();%0A            location.add(0, yOffset, 0);%0A            location.add(RandomUtils.getRandomCircleVector().multiply(RandomUtils.random.nextDouble() * radius));%0A            particle.display(location, visibleRange);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add SphereEntityEffect