Questlines

Adds data-driven quest lines to the game.

Редакция NLZONE · 2 мин чтения · 1 просмотр
Questlines
Скачать Questlines1.20.1 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Adds data-driven quest lines to the game.

  • Тип: мод
  • Загрузчик: fabric, forge
  • Версии Minecraft: 1.20.1
  • Скачиваний на Modrinth: 3 512

Подробно

[](https://redirect.daqem.com?to=https%3A%2F%2Fbisecthosting.com%2FDAQEM%3Fr%3DQuestlinesModrinth)

NOTE: THIS MOD IS STILL IN EARLY DEVELOPMENT AND THE API MIGHT CHANGE.

Questlines is a data driven Minecraft mod that adds - you guessed it - quest lines to the game. These quest lines can be created using data packs. This making crating quest lines very easy for people who don't know how to code.

Structure A quest line consisits of multiple quests. These quest can just be consecutive or they can brach out into multiple quest branches. Each quest contains on or more objectives. When all objectives have been completed, the quest will also be marked as complete and all its child quests will become available.

Arc Lib Questlines uses a library mod called Arc Lib (which is also made by DAQEM Studios) to register the objective player actions. Arc Lib makes it extremely easy to define player actions. All you have to do it tell Arc Lib which objective the action is for, descrive the conditions of the action and set the reward to an 'objective occurance' reward.

Example In this example, the objective is to mine 10 Grass Blocks with a reward of 10 Stone blocks.

Questline File: data/namespace/questlines/questlines/questlinename.json json { "isunlockedbydefault": true }

Quest File: data/namespace/questlines/quests/questname.json json { "questline": "namespace:questlinename", "objectives": [ { "id": "objectivename", "goal": 10 } ], "rewards": [ { "type": "arc:item", "item": "minecraft:stone", "amount": 10 } ] }

Objective Actions (Arc Lib) File: data/namespace/arc/questname/objectivename.json json { "holder": { "type": "questlines:objective", "id": "namespace:questname/objectivename" }, "type": "arc:onbreakblock", "conditions": [ { "type": "arc:block", "block": "minecraft:grassblock" } ], "rewards": [ { "type": "questlines:objectiveoccurrence" } ] }

Language File: assets/namespace/lang/enus.json json { "questlines.questline.namespace.questlinename": "The Best Quest Line Name!", "questlines.quest.namespace.questname": "Touch Grass", "questlines.quest.namespace.questname.description": "Break 10 Blocks of Grass and recieve 10 Stone.", "questlines.objective.namespace.questname.objectivename.description": "Break Grass Block" }

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также