Interface IItemEvent.AttackEvent

    • Method Detail

      • getType

        int getType()
        Returns:
        the attack type.
      • getTarget

        IEntity getTarget()
        Returns:
        the entity being attacked.
      • getSwingingEntity

        IEntity getSwingingEntity()
        Returns:
        the entity swinging the item.