public interface CollideEntityEvent extends TargetWorldEvent, Cancellable, CauseTracked
Entity
's.Modifier and Type | Method and Description |
---|---|
default List<Entity> |
filterEntities(java.util.function.Predicate<Entity> predicate)
Filters out
Entity 's from AffectEntityEvent.getEntities()
to be affected by this event. |
default List<Entity> |
filterEntityLocations(java.util.function.Predicate<Location<World>> predicate)
Filters out
Location 's from
getEntities() to be affected by this event. |
List<Entity> |
getEntities()
Gets the
List who will be affected after event
resolution. |
List<Entity> |
getOriginalEntities()
Gets the immutable list of
List who will be affected after event
resolution. |
getTargetWorld
isCancelled, setCancelled
getCause
List<Entity> getOriginalEntities()
List
who will be affected after event
resolution.List<Entity> getEntities()
List
who will be affected after event
resolution.default List<Entity> filterEntityLocations(java.util.function.Predicate<Location<World>> predicate)
Location
's from
getEntities()
to be affected by this event.predicate
- The predicate to use for filteringgetEntities()
default List<Entity> filterEntities(java.util.function.Predicate<Entity> predicate)
Entity
's from AffectEntityEvent.getEntities()
to be affected by this event.predicate
- The predicate to use for filtering