Package wtf.choco.arrows.arrow
Class AlchemicalArrowGrapple
java.lang.Object
wtf.choco.arrows.api.AlchemicalArrow
wtf.choco.arrows.arrow.ConfigurableAlchemicalArrow
wtf.choco.arrows.arrow.AlchemicalArrowGrapple
public class AlchemicalArrowGrapple extends ConfigurableAlchemicalArrow
-
Field Summary
Fields Modifier and Type Field Description static ArrowProperty
PROPERTY_GRAPPLE_FORCE
-
Constructor Summary
Constructors Constructor Description AlchemicalArrowGrapple(AlchemicalArrows plugin)
-
Method Summary
Modifier and Type Method Description void
onHitBlock(AlchemicalArrowEntity arrow, org.bukkit.block.Block block)
Called when the arrow hits a solid blockvoid
tick(AlchemicalArrowEntity arrow, org.bukkit.Location location)
Called 20 times every second.Methods inherited from class wtf.choco.arrows.arrow.ConfigurableAlchemicalArrow
getDisplayName, getItem, getKey, onShootFromPlayer, reload
Methods inherited from class wtf.choco.arrows.api.AlchemicalArrow
createItemStack, createItemStack, createNewArrow, equals, getProperties, hashCode, hitEntityEventHandler, hitGroundEventHandler, matchesItem, onHitEntity, onHitPlayer, onShootFromBlockSource, onShootFromSkeleton, shootEventHandler
-
Field Details
-
PROPERTY_GRAPPLE_FORCE
-
-
Constructor Details
-
AlchemicalArrowGrapple
-
-
Method Details
-
tick
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 classAlchemicalArrow
- Parameters:
arrow
- the alchemical arrow entity instancelocation
- the arrow's current location at this tick
-
onHitBlock
Description copied from class:AlchemicalArrow
Called when the arrow hits a solid block- Overrides:
onHitBlock
in classAlchemicalArrow
- Parameters:
arrow
- the alchemical arrow entity instanceblock
- the block on which the arrow landed
-