Allowing arrows to go through a player

Discussion in 'Plugin Development' started by Bavestry, Jun 29, 2013.

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

    Bavestry

    I was just wondering if there was a way, other than teleporting the player and/or the arrow, to allow an arrow to fly through a player. Thanks!
     
  2. Offline

    r0306

    Bavestry
    That would probably have to do with changing the hitbox of the actual player. I'm not sure how to do this but you can look it up. I'm sure there will be a few posts regarding this.
     
    Bavestry likes this.
  3. Offline

    Bavestry

    r0306 That seems like it might work. I'll look it up, thanks!
     
  4. Offline

    abalabahaha

    Maybe get the velocity of the arrow, teleport the arrow through the player, apply the velocity?
     
  5. Offline

    Bavestry


    r0306 There are a lot of things with the word hitbox in it. I looked through them all, the only thing that was close to pertinent was this...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  6. Offline

    r0306

  7. Offline

    Bavestry

    r0306 I'm beginning to think it's not possible to 'ignore' the hitbox without editing minecraft itself.. So, how would you suggest going about teleporting the arrow behind a player? Would I have to cancel the ProjectileHitEvent and create a new arrow behind the player?
     
  8. Offline

    r0306

Thread Status:
Not open for further replies.

Share This Page