Class ExplosionInteractionListeners
java.lang.Object
me.deecaad.weaponmechanics.listeners.ExplosionInteractionListeners
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonChunkUnload(org.bukkit.event.world.ChunkUnloadEvent e) voidonItemFrameBreak(org.bukkit.event.hanging.HangingBreakEvent e)
-
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)
-