Class DeathWaypointEvent


public class DeathWaypointEvent extends ClientEvent
Indicates a Death Waypoint is about to be created. Can be cancelled, which will prevent the waypoint creation.
  • 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