Getting the spawner location upon creature_spawn if reason is "spawner"

Discussion in 'CommandHelper' started by SoftMC, Jun 25, 2018.

  1. SoftMC

    SoftMC New Member

    Hello! I'm currently working with the creature_spawn event with spawners. I've run into a problem. I need to get the location of the spawner that the entity spawned from, but I do not believe there is a way to go about doing this. Any help is greatly appreciated!
  2. PseudoKnight

    PseudoKnight Well-Known Member Developer

    There's no good way to do this in Bukkit, but Spigot has an event that helps. I added "spawner_spawn" event to CHSpigot just now.