Class ConePreview

java.lang.Object
com.sucy.skill.cast.Preview
com.sucy.skill.cast.ConePreview

public class ConePreview extends Preview
  • Constructor Details

    • ConePreview

      public ConePreview(double arc, double radius)
      Parameters:
      arc - angle of the cone in radians
      radius - radius of the cone
  • Method Details

    • playParticles

      public void playParticles(org.bukkit.entity.Player player, ParticleSettings particle, org.bukkit.Location location, int step)
      Creates the packets for the indicator, adding them to the list
      Specified by:
      playParticles in class Preview
      Parameters:
      particle - particle type to use
      step - animation step
    • getArc

      public double getArc()
    • getRadius

      public double getRadius()