Package dev.cwhead.GravesX.listener
package dev.cwhead.GravesX.listener
-
ClassesClassDescriptionListens for both BlockExplodeEvent and EntityExplodeEvent to handle interactions with grave blocks when they are affected by explosions.Runs grave-related actions after a player respawns: - executes a configured function - optional potion effects - optional grave compass Uses Paper's PlayerPostRespawnEvent when available, falls back to Bukkit's PlayerRespawnEvent, and finally to a short post-death poll if neither fires.