一个简单实用的服务端模组,允许村民(Nitwit)为玩家分配类似 OSRS Slayer 风格的简易任务。
只需右键点击一名村民即可接受任务,你可以选择是否接下;再次右键该村民即可交付任务以获取战利品。完全可配置,包括禁用村民行为逻辑(如果你仅需要库功能的话)。
内置等级系统,提供进度曲线。
(如果内置任务和掉落表略显不平衡,请见谅——我一次性制作所有内容时确实有点崩溃了)
整合包/数据包开发者须知
所有任务数据均从 JSON 文件 "slayerquests:slayerquests" 中读取。解压 JAR 文件后,你也可以找到内置的参考/风格指南。如果 "mobID" 不是已注册的 Living Entity(活体实体),将抛出异常。如果在 "lootOverrideDirectory" 下未找到对应的掉落表,系统将回退到该任务等级的默认掉落表。
若你更改任何 "tier"(等级)对象的名称,请务必添加对应的掉落表 "slayerquests:loot_table/tier_loot/tiername",否则模组将因缺少掉落表而抛出异常。
希望使用本库的开发者或艺术家
请查阅此处文档(目前仍在完善中):
进行中特性 (WIP)
- 命名翡翠为 “Slayer Gem” 后,右键点击可查看当前任务状态
- 添加标签功能,使拥有该标签的生物具备默认的村民任务发放交互
- 检测刷怪笼农场,并防止农场击杀计入任务进度
- JEI 支持:在资源掉落表中按 R 键即可查看其所属的任务等级
- 允许设置某些生物或标签仅在玩家持有对应任务时才可被击杀(适用于拥有珍贵掉落的被动生物)
- 新增 JSON 配置文件,用于控制在不同游戏阶段触发时(例如开启下界或末地传送门)任务的添加与移除
- 当玩家未持有对应任务时,仅限特定任务击杀的敌对生物将不再具有攻击性
A simply surverside mod that allows Nitwits to assign players simple OSRS Slayer style quests.
Just right click a Nitwit to be offered a quest that you can choose to uptake, right click a Nitwit again to hand in the quest for your loot. Fully configurable including disabling the Nitwit behaviour if you just want library functionality.
There is also a built in levelling system to allow a progression curve.
(sorry if the built in quests and loot tables are a little unbalanced, I went slightly stir crazy making them all at once)
For Modpack/Datapack devs
All the quests are pulled from the json file at "slayerquests:slayerquests" there is also a built in reference/style guide if you unpack the jar. If "mobID" isn't a registered Living Entity, an exception will be thrown. If a loot table isn't found at "lootOverrideDirectory", it will revert to the tier loot table for that quest.
If you change the name of any "tier" objects, make sure to add the loot table "slayerquests:loot_table/tier_loot/tiername" or the mod will throw an exception that there are missing tables.
For devs or artists looking to use the library
Check the documentation here (currently a work in progress):
WIP features
Making emeralds named "Slayer Gem" tell you your quests status when right clicked
Adding a tag that applies the default Nitwit quest giving interaction to mobs with it
Detecting mob farms and preventing mob farm kills from counting towards quests
JEI support so quest tiers come up if you press R on a resource in their loot table
Allow certain mobs or tag to only be killed if you have an quest for them (for passive mobs with valuable drops)
Another JSON that dictates quests that are added/removed when different game stages trigger (i.e nether or end opens)
Aggresive mobs that can only be killed if you have a quest for them will not be aggresive when you don't have a quest
评论 0
登录后参与评分
还没有评论,来抢沙发吧