public abstract class AbstractAffectEntityEvent extends AbstractEvent implements AffectEntityEvent
Modifier and Type | Field and Description |
---|---|
protected List<Entity> |
entities |
protected List<EntitySnapshot> |
entitySnapshots |
currentOrder
Constructor and Description |
---|
AbstractAffectEntityEvent() |
Modifier and Type | Method and Description |
---|---|
List<EntitySnapshot> |
getEntitySnapshots()
Gets an
List of the entity data
un-affected by event changes. |
init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filterEntities, filterEntityLocations, getEntities
getCause, getContext, getSource
isCancelled, setCancelled
protected List<EntitySnapshot> entitySnapshots
public List<EntitySnapshot> getEntitySnapshots()
AffectEntityEvent
List
of the entity data
un-affected by event changes.
This method MUST be called at Order.PRE
in order
to be properly initialized, after which it can be called at any time.
If it is not first called at Order.PRE
, it will throw an IllegalStateException
when invoked.
getEntitySnapshots
in interface AffectEntityEvent