Solved Ok Idk EnderPearl Teleport Cancel

Discussion in 'Plugin Development' started by nick6899, May 8, 2015.

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

    nick6899

    So I Have Tried Multiple Things (Getting Very Pissed), Anyway I Am Making Something And I Need EnderPearls To Be Able To Be Thrown But Not Teleport The Player I Have Tried Everything I Can Think Of
    (1. Tried To Cancel Player Teleport Event If e.getcause() instanceof Enderpearl)
    (2. Tried To Cancel Player Teleport Event If e.getcause() == Enderpearl)
    (3. Tried To Do Everything Possible With ProjectileHitEvent)
    (4. And Lots More)
    And I Have Had No Luck

    NOTICE: I Would Have Pasted My Code But After Serveral Hours Of It Not Working I Closed Eclipse Without Saving And I Will Not Be On Long Enough To Decompile Or Retype The Code

    P.S - No Errors In Console Either
     
  2. Offline

    teej107

  3. Offline

    bohafr

    Use ProjectileLaunchEvent, cancel if enderpearl and shooter is player and launch new enderpearl without shooter and with same vector as shot enderpearl
     
  4. Offline

    nick6899

    TY Guys, I Fixed It I Just Had To Change The EventPriority
     
  5. Offline

    FisheyLP

    1. It Is Really Annoying And Hard To Read When The First Letter Of Every Word Is Uppercased.
    2. Eclipse asks you to save when you try to close it.
    3. Why do you need several hours to make a simple plugin with a single event?? When youre really slow, it takes 5-10 minutes to remake it.
     
Thread Status:
Not open for further replies.

Share This Page