Interface DestructEntityEvent
-
- All Superinterfaces:
AudienceMessageEvent,Event,MessageCancellable,MessageEvent
- All Known Subinterfaces:
DestructEntityEvent.Death
public interface DestructEntityEvent extends AudienceMessageEvent, MessageCancellable
An event where theEntityis being either removed usually due to theEntitybeing marked as "dead". Happens beforeHarvestEntityEvent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceDestructEntityEvent.DeathA derivative ofDestructEntityEventwhere 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 Entityentity()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
-
-