public interface AffectItemEvent extends AffectEntityEvent
Modifier and Type | Method and Description |
---|---|
List<Item> |
filterEntities(Predicate<Entity> predicate)
Filters out
Entity 's from AffectEntityEvent.getEntities()
to be affected by this event. |
List<Item> |
filterEntityLocations(Predicate<Location<World>> predicate)
Filters out
Location 's from
AffectEntityEvent.getEntities() to be affected by this event. |
List<Item> |
getEntities()
Gets the
List who will be affected after event
resolution. |
getEntitySnapshots
getTargetWorld
getCallbacks
isCancelled, setCancelled
getCause
List<Item> getEntities()
AffectEntityEvent
List
who will be affected after event
resolution.getEntities
in interface AffectEntityEvent
List<Item> filterEntityLocations(Predicate<Location<World>> predicate)
AffectEntityEvent
Location
's from
AffectEntityEvent.getEntities()
to be affected by this event.filterEntityLocations
in interface AffectEntityEvent
predicate
- The predicate to use for filteringList<Item> filterEntities(Predicate<Entity> predicate)
AffectEntityEvent
Entity
's from AffectEntityEvent.getEntities()
to be affected by this event.filterEntities
in interface AffectEntityEvent
predicate
- The predicate to use for filtering