Package dev.deepcore.challenge.world
Interface ChallengeSessionWorldBridge
- All Known Implementing Classes:
ChallengeSessionManager
public interface ChallengeSessionWorldBridge
Bridge contract used by world reset flows to interact with session state.
-
Method Summary
Modifier and TypeMethodDescriptionvoidensurePrepBook(org.bukkit.entity.Player player) Ensures the prep book is present for the provided player.org.bukkit.LocationReturns the preferred lobby teleport location for session flows.voidRefreshes lobby preview state and entities.voidResets session state in preparation for a new run.
-
Method Details
-
getPreferredLobbyTeleportLocation
org.bukkit.Location getPreferredLobbyTeleportLocation()Returns the preferred lobby teleport location for session flows.- Returns:
- destination location to use for lobby-bound teleports
-
resetForNewRun
void resetForNewRun()Resets session state in preparation for a new run. -
ensurePrepBook
void ensurePrepBook(org.bukkit.entity.Player player) Ensures the prep book is present for the provided player.- Parameters:
player- player who should receive or retain the prep book
-
refreshLobbyPreview
void refreshLobbyPreview()Refreshes lobby preview state and entities.
-