Interface CollideEvent.Impact
-
- All Superinterfaces:
Cancellable,CollideEvent,Event
- All Known Subinterfaces:
CollideBlockEvent.Impact,CollideEntityEvent.Impact
- Enclosing interface:
- CollideEvent
public static interface CollideEvent.Impact extends CollideEvent
Fired after anEntityorBlockSnapshotimpact with each other.Note: this should only fire once after the first impact.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.action.CollideEvent
CollideEvent.Impact
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerLocationimpactPoint()Gets thelocationwhere the impact took place.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-
-
-
Method Detail
-
impactPoint
ServerLocation impactPoint()
Gets thelocationwhere the impact took place.- Returns:
- The impact location
-
-