Package org.bukkit.entity
Class Arrow.Spigot
- java.lang.Object
-
- org.bukkit.command.CommandSender.Spigot
-
- org.bukkit.entity.Entity.Spigot
-
- org.bukkit.entity.Arrow.Spigot
-
- Enclosing interface:
- Arrow
public static class Arrow.Spigot extends Entity.Spigot
-
-
Constructor Summary
Constructors Constructor Description Spigot()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description double
getDamage()
Deprecated.void
setDamage(double damage)
Deprecated.-
Methods inherited from class org.bukkit.entity.Entity.Spigot
isInvulnerable
-
Methods inherited from class org.bukkit.command.CommandSender.Spigot
sendMessage, sendMessage
-
-
-
-
Method Detail
-
getDamage
@Deprecated public double getDamage()
Deprecated.Gets the base amount of damage this arrow will do. Defaults to 2.0 for a normal arrow with0.5 * (1 + power level)
added for arrows fired from enchanted bows.- Returns:
- base damage amount
-
setDamage
@Deprecated public void setDamage(double damage)
Deprecated.Sets the base amount of damage this arrow will do.- Parameters:
damage
- new damage amount
-
-