RPG 职业选择 (RPG Series Tweaks)
此模组添加了源自众多 RPG 游戏的职业选择界面。
职业由“升级项”组成,这些升级项可以是法术(由 Spell Engine 驱动)、实体属性修改器,或两者的组合。
内置职业
该模组附带了内置的数据包/资源包,其中添加了基于 Daedelus 的 RPG Series 模组和 Fichte 的 More RPG Series 模组的职业。
您可以随意参考这些数据包,或将其作为基础来打造更个性化的体验。
如何访问该界面?
有 4 种方式可以打开职业选择界面:
- 热键(默认为“K”)。可在服务器配置中禁用。
- 玩家首次加入世界时自动打开该界面。可在服务器配置中禁用。
- 与“RPG 职业选择方块”交互。该方块在生存模式中不可用,专为地图制作者和服务器管理员设计。
- 其他模组可以通过提供的 API 方法实现自定义方法来打开此界面。
每种方法都可以使用配置选项、方块实体数据或方法参数来自定义所打开的界面。
自定义选项包括:
- 打开界面时显示的职业
- 是否将职业列表限制为初始职业和玩家当前职业
- 玩家是否可以更改职业
- 玩家是否可以更改当前职业的升级项
额外自定义
该模组提供了多种职业选择界面的布局。可在服务器配置中更改所使用的布局。
工作原理
当玩家选择一个职业时,该职业定义的物品会被放置到特定的装备槽位中。选定的升级项会存储在该物品上。
目前使用的装备槽位由 RPG Inventory 提供。
正在探索与 Trinkets 的替代兼容性,并可能在未来添加。
职业和职业升级项可以通过进度解锁。
职业通过数据包定义。
示例职业:
{
"class_identifier": "rpgclassselection:fire_wizard",
"unlock_advancement_identifier": "minecraft:story/smelt_iron",
"visible_when_locked": true,
"description": "class_selection_screen.rpgclassselection.fire_wizard.description",
"locked_description": "class_selection_screen.rpgclassselection.fire_wizard.locked_description",
"upgrade_entry_group_list": [
{
"upgrade_entry_list": [
{
"upgrade_identifier": "rpgclassselection:fire_spell_1",
"unlock_advancement_identifier": "minecraft:story/mine_diamond",
"visible_when_locked": true,
"title": "spell.wizards.fire_blast.name",
"icon_path": "wizards:textures/spell/fire_blast.png",
"component_list": [
{
"type": "spell",
"spell_identifier": "wizards:fire_blast",
"attribute_identifier": "",
"attribute_modifier_amount": 0.0,
"attribute_modifier_operation": ""
},
{
"type": "attribute_modifier",
"spell_identifier": "",
"attribute_identifier": "minecraft:generic.attack_damage",
"attribute_modifier_amount": 3.0,
"attribute_modifier_operation": "ADD_VALUE"
}
]
}
]
},
{},
{
"upgrade_entry_list": [
{
"upgrade_identifier": "rpgclassselection:fire_spell_2",
"title": "spell.wizards.fire_breath.name",
"icon_path": "wizards:textures/spell/fire_breath.png",
"component_list": [
{
"type": "spell",
"spell_identifier": "wizards:fire_breath"
}
]
}
]
}
]
}
你是这个资源的作者?登录后可认领此资源。
相似资源
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
基于 GTCEu 1.12.2 的现代 GregTech
让你能够在世界中的任何位置定位结构。
高科技机械、强大的能量生成、炫酷的小工具以及更多内容。现已登陆 Modrinth!
所有本应存在的事物
为 Cobblemon 添加 Mega 进化、Z 招式、太晶化、超极巨化/超巨大化、究极爆击与融合!
评论 0
登录后参与评分
还没有评论,来抢沙发吧