Interface IItemEvent.FinishUsingItem

  • All Superinterfaces:
    ICustomNPCsEvent, IItemEvent
    Enclosing interface:
    IItemEvent

    public static interface IItemEvent.FinishUsingItem
    extends IItemEvent
    Fired when the player finishes using the item (full duration).
    Hook Name:
    finishItem
    • Method Detail

      • getPlayer

        IPlayer getPlayer()
        Returns:
        the player who finished using the item.
      • getDuration

        int getDuration()
        Returns:
        the total use duration in ticks.