Class OverrideNearbyRespawnPointPage


public class OverrideNearbyRespawnPointPage extends RespawnPointPage
A page that allows players to override nearby respawn points when setting a new respawn point.
  • Constructor Details

    • OverrideNearbyRespawnPointPage

      public OverrideNearbyRespawnPointPage(@Nonnull PlayerRef playerRef, @Nonnull InteractionType interactionType, @Nonnull org.joml.Vector3i respawnPointPosition, @Nonnull Ref<ChunkStore> blockRef, @Nonnull PlayerRespawnPointData[] nearbyRespawnPoints, int radiusLimitRespawnPoint)
      Default Constructor for an OverrideNearbyRespawnPointPage instance.
      Parameters:
      playerRef - The PlayerRef component of the player entity.
      interactionType - The type of interaction that triggered this page.
      respawnPointPosition - The position of the respawn point being added.
      blockRef - The respawn block being added as a respawn point.
      nearbyRespawnPoints - An array of nearby respawn points that may conflict with the new respawn point.
      radiusLimitRespawnPoint - The radius limit for respawn points.
  • Method Details