Solved How to track fire created by createExplosion

Discussion in 'Spigot Plugin Development' started by CoolLord22, Aug 2, 2020.

  1. So I'm currently using
    Code (Text):
    .createExplosion(loc, 4.0f, true, false);
    to create an explosion that also creates fire at the explosion site, but can't figure out a way to track where the fire is placed. I might be missing something obvious but I think the world has fire tick off or whatever so the fire never goes away. I'm trying to just schedule the fire to be replaced with the block that was there, or just remove. I tried seeing if BlockSpreadEvent and BlockFormEvent were called but no luck there. Anyone have any tips?
  2. Take a look at BlockIgniteEvent. If fire spread is disabled those other events won't be called.
    • Informative Informative x 1
  3. Perfect! Can't believe I missed that event haha. Thank you so much :)
    • Friendly Friendly x 1