Class RecoilArrow

java.lang.Object
io.github.pylonmc.pylon.core.item.PylonItem
io.github.pylonmc.pylon.base.content.combat.RecoilArrow
All Implemented Interfaces:
io.github.pylonmc.pylon.core.item.base.PylonArrow, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class RecoilArrow extends io.github.pylonmc.pylon.core.item.PylonItem implements io.github.pylonmc.pylon.core.item.base.PylonArrow
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.github.pylonmc.pylon.core.item.PylonItem

    io.github.pylonmc.pylon.core.item.PylonItem.Companion
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
     

    Fields inherited from class io.github.pylonmc.pylon.core.item.PylonItem

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecoilArrow(@NotNull org.bukkit.inventory.ItemStack stack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onArrowShotFromBow(@NotNull org.bukkit.event.entity.EntityShootBowEvent event)
     

    Methods inherited from class io.github.pylonmc.pylon.core.item.PylonItem

    equals, fromStack, getAddon, getKey, getPlaceholders, getPylonBlock, getResearch, getResearchBypassPermission, getSchema, getSettings, getSettings, getStack, hashCode, isDisabled, isPylonItem, place, register, register, suppressNameWarnings

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.Keyed

    key

    Methods inherited from interface io.github.pylonmc.pylon.core.item.base.PylonArrow

    onArrowDamage, onArrowHit, onArrowReady
  • Field Details

    • EFFICIENCY

      public static final double EFFICIENCY
  • Constructor Details

    • RecoilArrow

      public RecoilArrow(@NotNull @NotNull org.bukkit.inventory.ItemStack stack)
  • Method Details

    • onArrowShotFromBow

      public void onArrowShotFromBow(@NotNull @NotNull org.bukkit.event.entity.EntityShootBowEvent event)
      Specified by:
      onArrowShotFromBow in interface io.github.pylonmc.pylon.core.item.base.PylonArrow