Skip to content

Nook Quests

A lightweight quest book for modpacks. Write quests as JSON in a data pack: advancement, item and stat tasks, rewards and Claim All.

<1,000 downloads Updated
26.3

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

A chapter's quest map: finished quests in green, open ones in gold, locked ones gray

Nook Quests is a lightweight quest book for modpacks. Players open it with J or a button in the inventory, work through a map of quests and claim their rewards. You write the quests as JSON files in a data pack. No quests come with the mod.

NeoForge 26.3 (26.3.0.76+) · install on the server and on clients · no dependencies · no mixins · UI in 8 languages · format reference: WRITING_QUESTS.md inside the jar

Lay out chapters as quest maps

Each chapter is a map of quests joined by dependency lines. Players drag the map, zoom with the scroll wheel and click a quest to open its page. Give each quest a pos, or leave it out and the mod lays the chapter out as a tree.

A quest can open after any one, or any two, of the quests before it. Mark side quests as optional, keep a surprise hidden until it opens, and make hubs stand out with five shapes and three sizes. Chapters can be grouped under headings, and a quest can be shown on another chapter's map as well, as a link.

Build tasks on what players really do

A quest's page with its task ticked, its rewards and the Claim button

A quest has nine task types:

  • advancement: any advancement, vanilla or modded. Add one with no display and it shows only in the book, so any trigger can become a task.
  • item: an item or a tag, counted across the whole inventory, with components if you like (a potion of one kind).
  • items: several things carried at the same time.
  • stat: any statistic, such as mobs killed, items crafted or blocks mined.
  • look: look at a block or a creature, such as a machine once it is built.
  • use: right-click a block or a creature, with an item in hand if you like.
  • location: reach a dimension, a biome or a structure.
  • submit: hand items in from the quest page.
  • check: a checkbox the player ticks.

Progress made before a quest unlocks still counts, unless the task says since_open.

Give rewards with Claim All

Rewards are items (components included), XP or a loot table roll. Players claim them on the quest page, or all at once with Claim All. A badge on the inventory button shows when rewards are waiting.

The quest button in the inventory, its tooltip showing four rewards waiting

See each quest finish

A finished quest shows a toast in the corner of the screen. If its advancement has just shown a toast with the same title, the book shows none.

A "Quest done" toast in the top corner of the screen

Track progress per player

On a server, every player has separate progress and rewards. Players without the mod can still join. They just have no book.

Find mistakes in the log

A misspelled field, a circular dependency or a skipped quest each gets a clear line in the log after /reload. Quests support neoforge:conditions. If a quest's advancement is not loaded, the quest is hidden and the quests after it stay reachable.

With other mods

Point tasks at any mod's advancements, items and statistics. A mod can ship quests in its own jar, the same way as a data pack. Global Packs can serve your quest data pack and resource pack to every world.

Where to start

  1. Add a chapter: data/<namespace>/nookquests/chapter/<name>.json, for example { "icon": "minecraft:oak_log", "order": 10 }.
  2. Add one JSON file per quest under data/<namespace>/nookquests/quest/<chapter>/:
{
  "chapter": "mypack:start",
  "requires": ["mypack:start/welcome"],
  "tasks": [
    { "type": "advancement", "advancement": "minecraft:story/smelt_iron" },
    { "type": "item", "item": "#minecraft:logs", "count": 16 }
  ],
  "rewards": [
    { "type": "item", "id": "minecraft:torch", "count": 16 },
    { "type": "xp", "points": 20 }
  ]
}
  1. Put titles and descriptions in a resource pack's lang files, under keys like quest.mypack.start.iron.title.
  2. Run /reload, press J, and use /nookquests complete and /nookquests reset to test the chapter.

The Nook mods

  • Nookworks: vanilla-style decoration, cooking and a belt-driven workshop. Nook Technology and Nook of the Dead are add-ons for it.
  • Nook Technology: heavy industry for Nookworks. Steel mills, conveyor belts, power lines and a quarry.
  • Nook of the Dead: through the If Mirror to a fallen world overrun by the dead.
  • Nook Arms: a handgun and a shotgun with aim down sights, recoil and manual reloads.
  • Riftwright's Nook: the modpack with all of them, ready to play.

FAQ

Is there an in-game editor? No. Quests are plain files, so they fit in your pack's version control.

Does it replace advancements? No, it builds on them. A quest can simply point at an advancement and take its icon.

Teams, reward choices, repeatable quests? Not in this version.

Can I change a quest after release? Yes, everything except its id. Player progress is saved under the id.


License: MIT. Free to use in modpacks.

Feedback and bug reports: the comments here.

Made with AI: Nook Quests is made with Claude (Anthropic) under the author's direction.