Class AlchemicalArrowGrapple


public class AlchemicalArrowGrapple
extends ConfigurableAlchemicalArrow
  • Field Details

    • PROPERTY_GRAPPLE_FORCE

      public static final ArrowProperty PROPERTY_GRAPPLE_FORCE
  • Constructor Details

    • AlchemicalArrowGrapple

      public AlchemicalArrowGrapple​(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
    • onHitBlock

      public void onHitBlock​(AlchemicalArrowEntity arrow, org.bukkit.block.Block block)
      Description copied from class: AlchemicalArrow
      Called when the arrow hits a solid block
      Overrides:
      onHitBlock in class AlchemicalArrow
      Parameters:
      arrow - the alchemical arrow entity instance
      block - the block on which the arrow landed