距离显示结果还剩5票~
暂无日志..
暂无管理组..
暂无编辑组..
暂无开发组..
基本信息
Pufferfish's Skills 的附属。
支持的模组:
经验来源
收割农作物
条件
tool / tool_tag / tool_nbt(使用工具);
block / block_tag / block_nbt(破坏方块)。
参数
dropped_crops:掉落的农作物数(包含组的大小)(#forge:crops);
dropped_seeds: 掉落的种子数(包含组的大小)(#forge:crops)。
举例
{
"type": "pufferfish_unofficial_additions:harvest_crops",
"data": {
"conditions": {
"crops": {
"type": "block_tag",
"data": {
"tag": "minecraft:crops"
}
}
},
"parameters": {
"dropped_crops": {
"type": "dropped_crops"
},
"dropped_seeds": {
"type": "dropped_seeds"
}
},
"experience": [{
"condition": "crops",
"expression": "dropped_crops + (dropped_seeds * 0.1)"
}]
}
}
钓鱼经验
条件
tool / tool_tag / tool_nbt(使用工具);
fished / fished_tag / fished_nbt(钓到物品)。
参数
fished_amount:钓到的物品数量。
举例
{
"type": "pufferfish_unofficial_additions:fishing",
"data": {
"conditions": {
"fished": {
"type": "fished_tag",
"data": {
"tag": "minecraft:fishes"
}
}
},
"parameters": {
"fished_amount": {
"type": "fished_amount"
}
},
"experience": [{
"condition": "fished",
"expression": "fished_amount * 3"
}]
}
}
奖励
可行走的细雪
允许在细雪上行走。
{
"type": "puffish_skills:tag",
"data": {
"tag": "walk_on_powder_snow"
}
}
Iron's Spells 'n Spellbooks
经验源
添加了使用咒语(Spell)的经验源。
注意:这个经验源会在每个施咒刻(Spell Tick)触发,意味着持续的施法会触发多次(请查看 expected_ticks 参数)。
参数
level / min_level / max_level 属于正在施放的咒语;
min_level_rarity 稀有度的最小等级(如果你使用稀有咒语,可能是 4 而不是 1);
rarity 稀有度的序数(0 是普通 Common,4 是传奇 Legendary);
mana_cost 咒语消耗的魔力(仅消耗魔力);
mana_cost_per_second 持续性咒语每秒消耗的魔力(仅消耗魔力);
cast_duration(以秒为单位)咒语的持续时间;
cast_charge_time(以秒为单位)适用于长咒语(充能时间);
cooldown(以秒为单位)冷却时间;
expected_ticks 瞬间咒语和长咒语为 1 - 对于持续性咒语,如果整个持续间隔被使用了将会是施咒刻的数量。
条件
item / item_nbt / item_tag 施咒时的主手物品;
spellbook / spellbook_nbt / spellbook_tag 在 Curios 栏位中的法术书;
school_type 咒语的流派(底部所有 id 的连接);
data 条目为空;
spell_id 正在释放的咒语(底部所有 id 的连接);
data 条目为空;
cast_type: INSTANT | LONG | CONTINUOUS;
data 条目为空;
spell_rarity_name:COMMON | UNCOMMON | RARE | EPIC | LEGENDARY;
data 条目为空。
举例
{
"type": "pufferfish_unofficial_additions:spell_casting",
"data": {
"parameters": {
"level": {
"type": "level"
},
"min_level": {
"type": "min_level"
},
"max_level": {
"type": "max_level"
},
"rarity": {
"type": "rarity"
},
"mana_cost": {
"type": "mana_cost"
}
},
"conditions": {
"spellbook": {
"type": "item",
"data": {
"item": "irons_spellbooks:iron_spell_book"
}
},
"fire_school": {
"type": "school_type",
"data": {
"value": "irons_spellbooks:fire"
}
},
"blaze_storm": {
"type": "spell_id",
"data": {
"value": "irons_spellbooks:blaze_storm"
}
},
"black_hole": {
"type": "spell_id",
"data": {
"value": "irons_spellbooks:black_hole"
}
}
},
"experience": [{
"condition": "spellbook & !blaze_storm & fire_school",
"expression": "level * 2"
},
{
"condition": "black_hole",
"expression": "level + (mana_cost / 10)"
}
]
}
}
{
"type": "pufferfish_unofficial_additions:spell_casting",
"data": {
"parameters": {
"level": {
"type": "level"
},
"rarity": {
"type": "rarity"
},
"mana_cost": {
"type": "mana_cost"
},
"mana_cost_per_second": {
"type": "mana_cost_per_second"
},
"ticks": {
"type": "expected_ticks"
}
},
"conditions": {
"multiple_ticks": {
"type": "cast_type",
"data": {
"value": "CONTINUOUS"
}
}
},
"experience": [{
"condition": "multiple_ticks",
"expression": "(rarity + level + (mana_cost_per_second / 10)) / 3"
},
{
"condition": "!multiple_ticks",
"expression": "rarity + level + (mana_cost / 10)"
}
]
}
}