Interface IPlayerEvent.RangedLaunchedEvent

  • All Superinterfaces:
    ICustomNPCsEvent, IPlayerEvent
    Enclosing interface:
    IPlayerEvent

    public static interface IPlayerEvent.RangedLaunchedEvent
    extends IPlayerEvent
    Fired when the player launches a ranged weapon (e.g., bow). Cancelable.
    Hook Name:
    rangedLaunched
    • Method Detail

      • getBow

        IItemStack getBow()
        Returns:
        the bow item.
      • getCharge

        int getCharge()
        Returns:
        the charge level of the bow.