Interface IItemEvent.StartUsingItem

  • All Superinterfaces:
    ICustomNPCsEvent, IItemEvent
    Enclosing interface:
    IItemEvent

    public static interface IItemEvent.StartUsingItem
    extends IItemEvent
    Fired when the player starts using the item (e.g., drawing a bow).
    Hook Name:
    startItem
    • Method Detail

      • getPlayer

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

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