Projectile Drop Location

Discussion in 'Plugin Development' started by MoeMix, Feb 3, 2014.

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

    MoeMix

    How do I get the location in which a projectile has dropped? For example create an explosion at the area in which a snowball dropped.
     
  2. Offline

    caseif

    Listen to the ProjectileHitEvent and create an explosion at the location. If you only want explosions for specific projectiles, keep track of which ones should trigger an explosion via either a global list or metadata.
     
  3. Offline

    MoeMix

    ShadyPotato is it possible to spawn a mob at a location? If so, what is the method?

    nevermind, figured it out.

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

    caseif

    World#spawnMob(x, y, z);
     
Thread Status:
Not open for further replies.

Share This Page