1.15.2 Stop fire despawn

Discussion in 'Spigot Plugin Development' started by xFoondom, Jan 18, 2020.

  1. I cannot for the life of me find the event to cancel fire despawning.

    I've tried cancelling following events:
    BlockFromToEvent
    BlockFormEvent
    BlockGrowEvent (because Fire is an ageable)
    BlockSpreadEvent
    BlockBurnEvent

    Yet everytime I set my grass on fire, it burns out. Which event do I use??
     
  2. If there's absolutely no other solution, set the ticks-property in the NBT-Tag inside the fire-block to -1
     
  3. Maybe BlockFadeEvent?
     
  4. YES thank you so much, Shawlaf, you are a life saver. I would've never found that