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:InstanceEventGets the instance.- Specified by:
getInstancein interfaceEntityInstanceEvent- Specified by:
getInstancein interfaceInstanceEvent- Returns:
- instance
-
getEntity
Gets the entity being removed.- Specified by:
getEntityin interfaceEntityEvent- Returns:
- entity being removed
-