Class AttackIndicatorCondition.ShootListener

java.lang.Object
studio.magemonkey.fabled.dynamic.condition.AttackIndicatorCondition.ShootListener
All Implemented Interfaces:
org.bukkit.event.Listener
Enclosing class:
AttackIndicatorCondition

public static class AttackIndicatorCondition.ShootListener extends Object implements org.bukkit.event.Listener
Static listener that captures bow/crossbow shoot force as metadata on the shooter. EntityShootBowEvent fires BEFORE ProjectileLaunchEvent (Launch trigger). Metadata is read by AttackIndicator on the same tick, then cleared one tick later.
  • Constructor Details

    • ShootListener

      public ShootListener()
  • Method Details

    • onShoot

      public void onShoot(org.bukkit.event.entity.EntityShootBowEvent e)