Class WaypointGroupTransferEvent
java.lang.Object
journeymap.api.v2.common.event.impl.JourneyMapEvent
journeymap.api.v2.common.event.common.WaypointGroupTransferEvent
-
Field Summary
Fields inherited from class journeymap.api.v2.common.event.impl.JourneyMapEvent
timestamp -
Constructor Summary
ConstructorsConstructorDescriptionWaypointGroupTransferEvent(@Nullable WaypointGroup from, WaypointGroup to, Waypoint waypoint) -
Method Summary
Modifier and TypeMethodDescription@Nullable WaypointGroupThe group the waypoint is transferring from.The group the waypoint is transferring to.Gets the waypoint that is transferring groups.Methods inherited from class journeymap.api.v2.common.event.impl.JourneyMapEvent
cancel, isCancellable, isCancelled
-
Constructor Details
-
WaypointGroupTransferEvent
public WaypointGroupTransferEvent(@Nullable @Nullable WaypointGroup from, WaypointGroup to, Waypoint waypoint)
-
-
Method Details
-
getGroupTo
The group the waypoint is transferring to.- Returns:
- - The waypoint group.
-
getGroupFrom
The group the waypoint is transferring from.May be null.
- Returns:
- - The waypoint group.
-
getWaypoint
Gets the waypoint that is transferring groups.- Returns:
- - The waypoint group.
-