Spawn mobs at locations???

Discussion in 'Plugin Development' started by ksbdude, Jan 11, 2014.

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

    ksbdude

    I'm making a wave based pvp plugin.

    How do i set mob spawning locations??

    I want it so when i call an event or something it will spawn mobs at a certian location.

    I know how to spawn mobs but idk how to set the location for it to spawn other than player location.
     
  2. Offline

    Superckl1

    You can use World.spawnEntity(Location, EntityType) to spawn one. To choose where it spawns, just make your own Location:

    Code:java
    1. new Location(world, x, y, z)
     
  3. Offline

    se1by

    iiHeroo and hintss like this.
Thread Status:
Not open for further replies.

Share This Page