Lorekeeper Outpost Service
Handles permanent Lorekeeper outposts (HQ + settlement newsies) backed by world persistence.
Types
Functions
Link copied to clipboard
Returns a lorekeeper-style message guiding the player to HQ.
Link copied to clipboard
fun canPlaceOutpostLectern(player: ServerPlayer, level: ServerLevel, placementKind: LorekeeperOutpostService.PlacementKind): Boolean
Validates whether this player can place an outpost lectern now.
Link copied to clipboard
fun forceRespawn(level: ServerLevel, target: LorekeeperOutpostService.ForceRespawnTarget): LorekeeperOutpostService.ForceRespawnResult
Force-respawns outpost NPCs for the provided dimension.
Link copied to clipboard
Grants an HQ lectern placement item to an admin player.
Link copied to clipboard
Grants a settlement newsie lectern placement item to an admin player.
Link copied to clipboard
Returns true when this Lorekeeper entity is the HQ Lorekeeper.
Link copied to clipboard
Returns true when this Lorekeeper entity is a settlement newsie.
Link copied to clipboard
Returns true when this Lorekeeper entity is a permanent outpost NPC.
Link copied to clipboard
fun onOutpostLecternPlaced(level: ServerLevel, player: ServerPlayer, clickedPos: BlockPos, face: Direction, placementKind: LorekeeperOutpostService.PlacementKind)
Finalizes outpost placement from a successful lectern item placement.
Link copied to clipboard
Sends the local-dimension HQ coordinates, if configured.