Interface DestructEntityEvent
-
- All Superinterfaces:
AudienceMessageEvent
,Event
,MessageCancellable
,MessageEvent
- All Known Subinterfaces:
DestructEntityEvent.Death
public interface DestructEntityEvent extends AudienceMessageEvent, MessageCancellable
An event where theEntity
is being either removed usually due to theEntity
being marked as "dead". Happens beforeHarvestEntityEvent
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DestructEntityEvent.Death
A derivative ofDestructEntityEvent
where the removal of theLiving
, theentity()
, is due to it losing its health.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entity
entity()
Gets theEntity
.-
Methods inherited from interface org.spongepowered.api.event.message.AudienceMessageEvent
audience, filterAudience, originalAudience, setAudience
-
Methods inherited from interface org.spongepowered.api.event.message.MessageCancellable
isMessageCancelled, setMessageCancelled
-
Methods inherited from interface org.spongepowered.api.event.message.MessageEvent
message, originalMessage, setMessage
-
-