PlayerAnimationEvent and PlayerInteractEvent

Discussion in 'Plugin Development' started by jacklin213, Jul 23, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    jacklin213

    Was just wondering if PlayerAnimationEvent is triggered when a player left or right clicks for a PlayerInteractEvent
     
  2. Offline

    xTigerRebornx

    jacklin213 Could simply print out a line to test, but I'd assume left click as there is an "animation" in that. The only AnimationType is ARM_SWING, which is a left click.
     
  3. Offline

    CorrieKay

    yes. If the arm moves, it'll trigger.

    Though interestingly enough, the event isnt being thrown if you defend with a sword.
     
  4. Offline

    jacklin213

    so it triggers if you open doors or click on crafting tables etc. right?
     
Thread Status:
Not open for further replies.

Share This Page