Class ExplosionInteractionListeners

java.lang.Object
me.deecaad.weaponmechanics.listeners.ExplosionInteractionListeners
All Implemented Interfaces:
org.bukkit.event.Listener

public class ExplosionInteractionListeners extends Object implements org.bukkit.event.Listener
Listens and cancels events that could interfere with block regeneration, or cause damage because of the missing blocks

It also regenerates blocks if chunks unload

  • Constructor Details

    • ExplosionInteractionListeners

      public ExplosionInteractionListeners()
  • Method Details

    • onChunkUnload

      public void onChunkUnload(org.bukkit.event.world.ChunkUnloadEvent e)
    • onItemFrameBreak

      public void onItemFrameBreak(org.bukkit.event.hanging.HangingBreakEvent e)