Class EntityRemoveFromWorldEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
com.destroystokyo.paper.event.entity.EntityRemoveFromWorldEvent

public class EntityRemoveFromWorldEvent extends EntityEvent
Fired any time an entity is being removed from a world for any reason