Solved Amount of nearby entities

Discussion in 'Plugin Development' started by sniper101, Dec 4, 2015.

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

    sniper101

    Hi
    Does anyone know how to get the amount of nearby entities of a certain type?
    Hope you can help.
     
  2. Offline

    teej107

    @sniper101 Have you searched through the JavaDocs? What have you tried?
     
  3. Offline

    Scimiguy

    Entity#getNearbyEntities()

    entity.getType()
     
  4. Offline

    sniper101

    That get nearby entities not the amount
     
  5. Offline

    Scimiguy

    Count them?
     
  6. Offline

    sniper101

    How would i count them
     
  7. Offline

    Scimiguy

    With Java
     
  8. Offline

    Zombie_Striker

    @sniper101
    If you do not know how to count the objects in a collection, you have not learned Java properly. Please, learn Java before continuing. (If you don't know where to learn Java, click here)
     
  9. Offline

    sniper101

    Ok thanks i figured it out now :D
     
Thread Status:
Not open for further replies.

Share This Page