Class ParticleHelper

java.lang.Object
com.sucy.skill.api.particle.ParticleHelper

public final class ParticleHelper extends Object
Simplified particle utility compared to MCCore's
  • Field Details

  • Method Details

    • getFromKey

      public static org.bukkit.Particle getFromKey(String particleKey)
    • play

      public static void play(org.bukkit.Location loc, Settings settings)
      Plays particles about the given location using the given settings
    • fillCircle

      public static void fillCircle(org.bukkit.Location loc, Settings settings, int level, int points, double visibleRadius, org.bukkit.Particle particle, int amount, double dx, double dy, double dz, float speed, Object object)
      Plays several of a particle type randomly within a circle
    • fillSphere

      public static void fillSphere(org.bukkit.Location loc, Settings settings, int level, int points, double visibleRadius, org.bukkit.Particle particle, int amount, double dx, double dy, double dz, float speed, Object object)
      Randomly plays particle effects within the sphere
    • fillHemisphere

      public static void fillHemisphere(org.bukkit.Location loc, Settings settings, int level, int points, double visibleRadius, org.bukkit.Particle particle, int amount, double dx, double dy, double dz, float speed, Object object)
      Randomly plays particle effects within the hemisphere
    • makeObject

      public static Object makeObject(org.bukkit.Particle particle, Settings settings)
    • makeObject

      public static Object makeObject(org.bukkit.Particle particle, org.bukkit.Material material, int cmd, int durability, org.bukkit.Color dustColor, org.bukkit.Color toColor, float dustSize)
    • filterPlayers

      public static Set<org.bukkit.entity.Player> filterPlayers(Collection<org.bukkit.entity.Player> players, org.bukkit.Location location, double visibleRadius)