Package com.sucy.skill.cast
Class ConePreview
java.lang.Object
com.sucy.skill.cast.Preview
com.sucy.skill.cast.ConePreview
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetArc()doublevoidplayParticles(org.bukkit.entity.Player player, ParticleSettings particle, org.bukkit.Location location, int step) Creates the packets for the indicator, adding them to the list
-
Constructor Details
-
ConePreview
public ConePreview(double arc, double radius) - Parameters:
arc- angle of the cone in radiansradius- 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:
playParticlesin classPreview- Parameters:
particle- particle type to usestep- animation step
-
getArc
public double getArc() -
getRadius
public double getRadius()
-