13
0
geforkt von Mirrors/Paper

SPIGOT-5121: Method to set PierceLevel of arrows

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2019-06-30 09:52:12 +10:00
Ursprung 6a48681da7
Commit 29b0bdf48b

Datei anzeigen

@ -43,6 +43,22 @@ public interface AbstractArrow extends Projectile {
*/
public void setDamage(double damage);
/**
* Gets the number of times this arrow can pierce through an entity.
*
* @return pierce level
*/
public int getPierceLevel();
/**
* Sets the number of times this arrow can pierce through an entity.
*
* Must be between 0 and 127 times.
*
* @param pierceLevel new pierce level
*/
public void setPierceLevel(int pierceLevel);
/**
* Gets whether this arrow is critical.
* <p>