your current location:首页 > news>quest lines mincrapt

quest lines mincrapt

2024-12-15 01:34:51|Myriagame |source:minecraft skins

Overview

Questlines is a data -driven task module that supports the use of data packets to make task systems.

The module is still in the early stage of development, and the API used may change.

content

A task system contains many tasks, they may be linear or tree -like.After a task is completed, it will be marked as completed, and its subsidiary task will be unlocked.

Questlines uses ARC LIB as an API, relying on its behavior -return -condition framework as a mechanism for driving tasks.

The following is a sample task that requires 10 grass blocks to reward 10 stones.

Task group (questline)

Path: Data/Naming Space/Questlines/Questlines/task group name.json.json

content:

 {"is_unlocked_by_default": true} 

Task (quest)

Path: Data/Naming Space/Questlines/Quests/Task Name.json

content:

{    "questline": "namespace:questline_name",    "objectives": [        {            "id": "objective_name",            "goal": 10        }    ],    "rewards": [        {"Type": "Arc: Item", "Item": "Minecraft: Stone", "amount": 10}]} 

Objective Actions

Path: Data/Naming Space/ARC/Task Name/target name.json

content:

 {"HOLDER": {"type": "Questlines: Objective", "ID": "namespace: quest_name/objection_name"}, "Typ e ":" Arc: ON_BREAK_BLOCK ","Conditions": [{"type": "Arc: Block", "Block": "Minecraft: Grass_block"}], "Rewards": [{"type": "questli NES: Objective_occurrence "}]} 
Localization (take American English as an example)

Path: Assets/Naming Space/Lang/en_us.json

content:

 {"questlines.qustline.namespace.qustline_name": "The best quest line name!", "Questlines.quest.namespace.que str.namespace.quest_name.descripting ":" Break 10 Blocks of Grass and ReCieve 10 Stone. "," Questlines.objective.namespace.quest_nameCTIVE_NAM e.Descripting ":" Break Grass Block "} 

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.

Minecraft images