Class AlchemicalArrowDarkness


public class AlchemicalArrowDarkness
extends ConfigurableAlchemicalArrow
  • Constructor Details

    • AlchemicalArrowDarkness

      public AlchemicalArrowDarkness​(AlchemicalArrows plugin)
  • Method Details

    • tick

      public void tick​(AlchemicalArrowEntity arrow, org.bukkit.Location location)
      Description copied from class: AlchemicalArrow
      Called 20 times every second. This method is intended for displaying particles around the arrow, performing tasks whilst the arrow is still in the world, etc.
      Overrides:
      tick in class AlchemicalArrow
      Parameters:
      arrow - the alchemical arrow entity instance
      location - the arrow's current location at this tick
    • onHitPlayer

      public void onHitPlayer​(AlchemicalArrowEntity arrow, org.bukkit.entity.Player player)
      Description copied from class: AlchemicalArrow
      Called when the arrow hits a player
      Overrides:
      onHitPlayer in class AlchemicalArrow
      Parameters:
      arrow - the alchemical arrow entity instance
      player - the player damaged by the arrow