Check if Villagers in Cobweb

Discussion in 'Plugin Development' started by CrazyGuy3000, Jan 22, 2014.

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

    CrazyGuy3000

    Ok so,
    Im trying to check if a villager is inside a cobweb and I figured the easiest way to do that was with EntityMoveEvent but there isn't on in Bukkit... :/

    Has anybody got a equivilant or a way to do this?
     
  2. Offline

    acecheesecr14

    Whats the point in that?

    IDK how you would run this.. but you can get the location of it and check the block either at that location or below it?
     
  3. Offline

    CrazyGuy3000

    I was bored, :p

    How am I supposed to check if there at that location if im not checking when there moving :/
     
  4. Offline

    acecheesecr14

    I really don't know... Sorry mate
     
  5. Offline

    bennie3211

    Use a loop to go though all entitys, check if its a villager, then check thelocation, and get the block at that location, if its web, the villager is in a cobweb xd
     
Thread Status:
Not open for further replies.

Share This Page