mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-08 21:43:06 +00:00
Locale refactoring
This commit is contained in:
parent
ea4c8e293c
commit
ad4b8a9def
109 changed files with 1266 additions and 3384 deletions
|
@ -1,14 +1,11 @@
|
|||
package dev.esophose.playerparticles.styles;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.bukkit.Location;
|
||||
|
||||
import dev.esophose.playerparticles.particles.ParticleEffect;
|
||||
import dev.esophose.playerparticles.particles.ParticlePair;
|
||||
import dev.esophose.playerparticles.styles.api.PParticle;
|
||||
import dev.esophose.playerparticles.styles.api.ParticleStyle;
|
||||
import dev.esophose.playerparticles.particles.PParticle;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.bukkit.Location;
|
||||
|
||||
public class ParticleStyleInvocation implements ParticleStyle {
|
||||
|
||||
|
@ -19,7 +16,7 @@ public class ParticleStyleInvocation implements ParticleStyle {
|
|||
private int numSteps = 120;
|
||||
|
||||
public List<PParticle> getParticles(ParticlePair particle, Location location) {
|
||||
List<PParticle> particles = new ArrayList<PParticle>();
|
||||
List<PParticle> particles = new ArrayList<>();
|
||||
double speed = getSpeedByEffect(particle.getEffect());
|
||||
|
||||
// Circle around everything, spawn less often
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue