Cancelling ender eye launching

Discussion in 'Plugin Development' started by Limeth, Aug 19, 2012.

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

    Limeth

    I'd like to set an action for the ender eye to happen, when a player right clicks. The problem is, that the ender eye launches in the air.

    Would you help me with disabling it, please?

    Limeth
     
  2. Offline

    Theodossis

    Use PlayerInteractEvent and check if player has an ender eye in his hand then cancel event.
     
  3. Offline

    Intangir

    if you click on a block it seems to fire this event fine, and you can cancel it

    but if they just click on the air it doesn't seem to call an interact event and launches the eye hehe

    im also trying to add a new behavior for eye of ender, but cant seem to disable the default purpose
     
  4. Offline

    gomeow

    ProjectileLauchEvent
     
Thread Status:
Not open for further replies.

Share This Page