Class AlchemicalArrowWater


public class AlchemicalArrowWater
extends ConfigurableAlchemicalArrow
  • Constructor Details

    • AlchemicalArrowWater

      public AlchemicalArrowWater​(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
    • createNewArrow

      public AlchemicalArrowEntity createNewArrow​(org.bukkit.entity.Arrow arrow)
      Description copied from class: AlchemicalArrow
      Create a new instance of an AlchemicalArrowEntity. If a custom AlchemicalArrowEntity implementation is used, this method must be overridden to return a custom instance of it. Under no circumstance should additional, non-arrow entity-related code be executed in an overridden implementation of this method. For additional logic, see AlchemicalArrow's various methods and override them where required
      Overrides:
      createNewArrow in class AlchemicalArrow
      Parameters:
      arrow - the Bukkit Arrow instance from which to create an AlchemicalArrowEntity
      Returns:
      the new AlchemicalArrowEntity instance of this implementation