Package journeymap.api.v2.client.event
Class DeathWaypointEvent
java.lang.Object
journeymap.api.v2.common.event.impl.JourneyMapEvent
journeymap.api.v2.common.event.impl.ClientEvent
journeymap.api.v2.client.event.DeathWaypointEvent
Indicates a Death Waypoint is about to be created.
Can be cancelled, which will prevent the waypoint creation.
-
Field Summary
FieldsFields inherited from class journeymap.api.v2.common.event.impl.ClientEvent
dimensionFields inherited from class journeymap.api.v2.common.event.impl.JourneyMapEvent
timestamp -
Constructor Summary
ConstructorsConstructorDescriptionDeathWaypointEvent(net.minecraft.core.BlockPos location, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension) Constructor. -
Method Summary
Methods inherited from class journeymap.api.v2.common.event.impl.JourneyMapEvent
cancel, isCancellable, isCancelled
-
Field Details
-
location
public final net.minecraft.core.BlockPos location
-
-
Constructor Details
-
DeathWaypointEvent
public DeathWaypointEvent(net.minecraft.core.BlockPos location, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension) Constructor.- Parameters:
location- The location of the waypoint.dimension- The dimension of the waypoint.
-
-
Method Details