Class DeathWaypointEvent
java.lang.Object
journeymap.api.v2.common.event.impl.JourneyMapEvent
journeymap.api.v2.common.event.impl.CommonEvent
journeymap.api.v2.common.event.common.DeathWaypointEvent
Fired before a death waypoint is created, both client-side (singleplayer or
non-JM-managed servers) and server-side (JourneyMap-managed servers).
Cancelling the event prevents the death waypoint from being created.
The plain WaypointEvent with WaypointEvent.Context.CREATE
is suppressed for death waypoints so addons subscribing to either receive
exactly one notification per death.
-
Nested Class Summary
Nested classes/interfaces inherited from class journeymap.api.v2.common.event.impl.CommonEvent
CommonEvent.Side -
Field Summary
Fields inherited from class journeymap.api.v2.common.event.impl.JourneyMapEvent
timestamp -
Constructor Summary
ConstructorsConstructorDescriptionDeathWaypointEvent(Waypoint waypoint, BlockPos location, int dimension, CommonEvent.Side side) -
Method Summary
Methods inherited from class journeymap.api.v2.common.event.impl.CommonEvent
getSideMethods inherited from class journeymap.api.v2.common.event.impl.JourneyMapEvent
cancel, isCancellable, isCancelled
-
Constructor Details
-
DeathWaypointEvent
public DeathWaypointEvent(Waypoint waypoint, BlockPos location, int dimension, CommonEvent.Side side)
-
-
Method Details