Placeholders
AstralFarmPass registers one root placeholder, %farmpass_…%, on the global container. Everything else on this page is reached through it: the objects a layout provider hands to a menu expose their own namespaces as %parameter_<namespace>_<key>%.
Every %farmpass_…% key needs a player context — resolved for the console or a non-player audience, the whole namespace returns nothing.
farmpass_* (root)
Placeholder | Resolves to |
|---|---|
| The current season id, a |
| The viewer's points this season; |
| The whole reward ladder, in |
| The quests of that type that are unlocked and not expired — what the player can work on right now. |
| The quests of that type that have not expired, including the ones still locked — used to show a whole month of weekly quests with a countdown on the locked ones. |
<TYPE> is a QuestType name, matched case-insensitively: %farmpass_quests_DAILY%, %farmpass_all_WEEKLY%. An unknown type resolves to nothing.
quest_*
One entry from %farmpass_quests_…%/%farmpass_all_…%. In a menu, reached as %parameter_quest_<key>%; inside a blueprint's own display, as %quest_<key>%.
Placeholder | Resolves to |
|---|---|
| The quest's deterministic UUID. |
| The blueprint it was dealt from — chain further with its sub-keys. |
| The rolled target. |
| When the quest opens, as a time placeholder ( |
| When it closes, same shape. |
| Whether it has opened yet (boolean). |
| Whether it has closed (boolean). |
| The viewer's progress; |
| Whether the viewer reached the target (boolean). |
| What the goal accepts — the blocks, mobs, biomes, enchantments or ids it watches — as an iterable of |
| The blueprint's display, rendered for the viewer (see below). |
%quest_item% and the progress line
%quest_item% renders the blueprint's display with the quest registered in the container, so the lore written in a blueprint file can describe the viewer's own copy of the quest. Two short names are registered on top of the quest's own keys, because that is what the blueprint files have always used:
Placeholder | Resolves to |
|---|---|
| The viewer's progress. |
| The rolled target. |
Both %quest_item% and %quest_progress% need a player context; from the console they resolve to nothing and 0 respectively.
blueprint_*
Reached through %quest_blueprint_…% (or %parameter_quest_blueprint_…%).
Placeholder | Resolves to |
|---|---|
| The blueprint id. |
|
|
| The raw display item, rendered without any quest context. |
| The goal object. |
| The |
reward_*
One entry from %farmpass_rewards%.
Placeholder | Resolves to |
|---|---|
| The tier id. |
| Its points threshold. |
| The free track's icon; nothing when the tier omits it. |
| The premium track's icon; nothing when the tier omits it. |
| Whether the free track hands anything out (boolean). |
| Whether the premium track does (boolean). |
| Whether the viewer already claimed that track. |
| Not claimed and enough points. Does not test the premium permission — the menu adds a |
claimed and available require the _free/_premium suffix; without it, or without a player context, they resolve to nothing.
value_*
One entry of %quest_values% — a block, mob, biome, enchantment, loot table, scroll rarity or shop item id the quest's goal accepts.
Placeholder | Resolves to |
|---|---|
| A display name. Anything the game knows about is left translatable, so each player reads it in their own language, spelled the way the game spells it; anything else falls back to a prettified key ( |
| The raw key ( |
A bare %value_…% with no sub-key resolves to the name.
Usage: listing quests in a lore
Layout providers are not the only consumer — a lore modifier can iterate the same providers:
Further reading
Quests & Goals — the blueprint fields behind
%blueprint_…%.Rewards — the ladder behind
%farmpass_rewards%.Menu Items and Menu Layouts — the AstralCore side of providers, taints and lore modifiers.