介绍
介绍由机器翻译自 Modrinth 原页面,仅供参考。
常规
Pufferfish’s Skills的附属模组
支持以下模组:
建议查阅文档:
- https://puffish.net/skillsmod/docs/creators/configuration/calculations/prototypes
- https://puffish.net/skillsmod/docs/creators/configuration/calculations/operations/operation
属性已移至
Additional Attributes
经验来源
收获作物
挂接到从战利品表获取物品的方法
运算:
player:收获作物的玩家(原型为玩家)block:正在收获的方块(原型为方块状态)tool:使用的工具(原型为物品堆叠)dropped_seeds:根据#forge:seeds计算的掉落种子数量(原型为number)dropped_crops:根据#forge:crops计算的掉落作物数量(原型为number)
示例:
{
"type": "pufferfish_unofficial_additions:harvest_crops",
"data": {
"variables": {
"crops": {
"operations": [
{
"type": "block"
},
{
"type": "puffish_skills:test",
"data": {
"block": "#minecraft:crops"
}
}
]
},
"dropped_crops": {
"operations": [
{
"type": "dropped_crops"
}
]
},
"dropped_seeds": {
"operations": [
{
"type": "dropped_seeds"
}
]
}
},
"experience": [
{
"condition": "crops",
"expression": "dropped_crops + (dropped_seeds * 0.2)"
}
]
}
}
钓鱼经验
每钓起一件物品时调用一次
运算:
示例:
{
"type": "pufferfish_unofficial_additions:fishing",
"data": {
"variables": {
"fishes": {
"operations": [
{
"type": "fished"
},
{
"type": "puffish_skills:test",
"data": {
"item": "#minecraft:fishes"
}
}
]
},
"fished_amount": {
"operations": [
{
"type": "fished"
},
{
"type": "count"
}
]
}
},
"experience": [
{
"condition": "fishes",
"expression": "fished_amount * 4"
},
{
"condition": "!fishes",
"expression": "fished_amount * 2"
}
]
}
}
奖励
效果
施加效果(持续时间无限):
- 从定义中移除奖励前,你需要重置技能(或手动移除效果)
{
"type": "pufferfish_unofficial_additions:effect",
"data": {
"effect": "minecraft:regeneration",
"amplifier": 0,
"type": "GRANT"
}
}
获得对不高于指定等级的效果的免疫:
{
"type": "pufferfish_unofficial_additions:effect",
"data": {
"effect": "minecraft:wither",
"amplifier": 1,
"type": "IMMUNE"
}
}
修改施加到玩家身上的效果的持续时间和 / 或等级:
- 如果修改后持续时间变为
0,则不会施加该效果 - 有效运算符为
+、-、x和/ - 此元素为可选项
- 如果修改后效果等级低于
0,则不会施加该效果
{
"type": "pufferfish_unofficial_additions:effect",
"data": {
"effect": "minecraft:slowness",
"amplifier": -2,
"duration_modification": "/2.5",
"type": "MODIFY"
}
}
可在细雪上行走
允许在细雪上行走
{
"type": "puffish_skills:tag",
"data": {
"tag": "walk_on_powder_snow"
}
}
Iron’s Spells ‘n Spellbooks
经验来源
新增了施放法术的经验来源
注意:每个法术刻都会触发经验来源,因此持续型法术可能会触发多次
(参见 expected_ticks 参数)
运算:
player:施法者(原型为 玩家)main_hand:主手中的物品(原型为 物品堆)spellbook:当前装备的法术书(原型为 物品堆)school:法术的学派类型(原型为自定义类型)- 该值由
school定义 spell:法术(原型为自定义类型)- 该值由
spell定义 - 包含以下子操作:
min_level:此类法术的最低等级(原型为number)max_level:此类法术的最高等级(原型为number)cast_type:法术的施放方式(INSTANT、LONG、CONTINUOUS)(原型为自定义类型)- 该值由
value定义 level:法术等级(包括物品等带来的加成)(原型为number)min_level_rarity:根据稀有度确定的法术最低等级(原型为number)rarity_name:稀有度名称(COMMON、RARE、EPIC、LEGENDARY)(原型为自定义类型)- 该值由
value定义 rarity:稀有度的序数(0表示COMMON,4表示LEGENDARY)(原型为number)mana_cost:该等级法术的魔力消耗(施法会消耗魔力时)(原型为number)mana_cost_per_second:仅适用于持续型法术(且施法会消耗魔力时)(原型为number)cast_duration:持续型法术的持续时间(秒)(原型为number)cast_charge_time:法术的蓄力时间(若有)(秒)(原型为number)cooldown:施放法术后的冷却时间(秒)(原型为number)expected_ticks:瞬发型和长效型法术的值为1;对于持续型法术,则为持续时间用尽时的法术刻数(原型为number)
示例:
{
"type": "pufferfish_unofficial_additions:spell_casting",
"data": {
"variables": {
"level": {
"operations": [
{
"type": "level"
}
]
},
"rarity": {
"operations": [
{
"type": "rarity_name"
},
{
"type": "puffish_skills:test",
"data": {
"value": "LEGENDARY"
}
},
{
"type": "switch",
"data": {
"true": 5,
"false": 1
}
}
]
},
"mana_cost": {
"operations": [
{
"type": "mana_cost"
}
]
},
"mana_cost_per_second": {
"operations": [
{
"type": "mana_cost_per_second"
}
]
},
"spellbook": {
"operations": [
{
"type": "spellbook"
},
{
"type": "puffish_skills:test",
"data": {
"item": "irons_spellbooks:iron_spell_book"
}
}
]
},
"fire_school": {
"operations": [
{
"type": "school"
},
{
"type": "puffish_skills:test",
"data": {
"school": "irons_spellbooks:fire"
}
}
]
},
"blaze_storm": {
"operations": [
{
"type": "spell"
},
{
"type": "puffish_skills:test",
"data": {
"spell": "irons_spellbooks:blaze_storm"
}
}
]
}
},
"experience": [
{
"condition": "spellbook & !blaze_storm & fire_school",
"expression": "level + (mana_cost / 5) + rarity"
},
{
"condition": "blaze_storm",
"expression": "(level + (mana_cost_per_second / 10)) / 2"
}
]
}
}
常见问题
Pufferfish’s Unofficial Additions 支持哪些 Minecraft 版本?
Pufferfish’s Unofficial Additions 支持 Minecraft Java 版 1.19.2–1.21.1,共 5 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Pufferfish’s Unofficial Additions 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Cadentem 的其他作品
查看全部 →Additional Attributes
by Cadentem
为游戏添加更多属性
404.7万
1 年前
Modrinth · CurseForge
Quality Food
by Cadentem
这个模组为食物及部分食材(例如作物)添加了品质机制。
226.1万
7 天前
Modrinth · CurseForge
Cave Dweller Evolved
by Cadentem
洞穴潜行者模组的分支版本,并加入了额外改动。
152.1万
2 年前
Modrinth · CurseForge
Obscure Tooltips Fix
by Cadentem
修复 Obscure Tooltips 与 EMI 之间的兼容性问题。
144.5万
1 年前
CurseForge
评论
登录后评论和评分