Module net.minestom.server
Class RemoveEntityFromInstanceEvent
java.lang.Object
net.minestom.server.event.instance.RemoveEntityFromInstanceEvent
- All Implemented Interfaces:
Event
,EntityEvent
,EntityInstanceEvent
,InstanceEvent
Called by an Instance when an entity is removed from it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the entity being removed.Gets the instance.
-
Constructor Details
-
RemoveEntityFromInstanceEvent
-
-
Method Details
-
getInstance
Description copied from interface:InstanceEvent
Gets the instance.- Specified by:
getInstance
in interfaceEntityInstanceEvent
- Specified by:
getInstance
in interfaceInstanceEvent
- Returns:
- instance
-
getEntity
Gets the entity being removed.- Specified by:
getEntity
in interfaceEntityEvent
- Returns:
- entity being removed
-