How to check if item is landed ?[Out of shooting him]

Discussion in 'Plugin Development' started by Plugers11, Aug 2, 2014.

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

    Plugers11

    Like in this topic
     
  2. Offline

    leon3001

    Plugers11
    If you want people to help you, you should give us exact information about what you want to do. Post some code, stacktraces etc. Describe your problem and people will be able to help.
     
  3. Offline

    ZodiacTheories

  4. Offline

    mactown21

    If and projectile hits a player? then falls to the ground? Or just get when the projectile hits the ground?
     
  5. Offline

    ZodiacTheories

  6. Offline

    mactown21

    ZodiacTheories likes this.
  7. Code:
    if(item.isLanded){
        System.out.println("???");
        System.out.println("Profit");
     
    }
     
  8. Offline

    QuecksilberHD

    Create a new item and...

    if(item.isOnGround)
    Miau();
     
  9. Offline

    Plugers11

    QuecksilberHD
    I want to check if player is landed
    No if is on ground F:
     
  10. Offline

    MOMOTHEREAL

  11. Offline

    Plugers11

    Ahh sorry no player :F
    Item
    I know i can use if is on ground
    But this checking on shoot this item
     
  12. Offline

    MOMOTHEREAL

    Plugers11 A dropped Item is an entity, sir. Also, please consider showing what you have done so far to understand what you mean by "on shoot". Velocity?
     
  13. Offline

    Plugers11

    Yes sir
     
  14. Offline

    MOMOTHEREAL

    You know, we can't really help you with that little details... please show us what you have done so far. We are not here to spoon-feed you.
     
Thread Status:
Not open for further replies.

Share This Page