McLists一周年快乐
服务器已经添加了详细介绍信息板块
服主可以在管理后台来提交自己服务器介绍信息。
服务器介绍信息提交后,管理人员会进行审核
审核通过后会在服务器详细页面进行显示
提交服务器介绍信息会让新玩家更好的了解你的服务器哦~
添加图片信息,也会让百度等搜索引擎更好的收录您的服务器哦~
管理平台地址:传送门
Pufferfish's Unofficial Additions

Pufferfish's Unofficial Additions - 河豚非官方扩展

额外的经验来源与奖励
forge / neoforge 作者 Cadentem 支持版本 1.19.2 - 1.21.1
下载量
188,916
关注数
25
数据来源
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:收获作物的玩家(原型为 Player
  • block:被收获的方块(原型为 Block State
  • tool:使用的工具(原型为 Item Stack
  • 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)"
      }
    ]
  }
}

钓鱼经验

每个钓到的物品都会调用

操作参数

  • player:钓鱼的玩家(原型为 Player
  • tool:使用的工具(原型为 Item Stack
  • fished:钓到的物品(原型为 Item Stack

示例:

    {
  "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:施法者(原型为 Player
  • main_hand:主手物品(原型为 Item Stack
  • spellbook:当前装备的法术书(原型为 Item Stack
  • school:法术的学派类型(原型为自定义)
  • 值由 school 定义
  • spell:法术(原型为自定义)
  • 值由 spell 定义
  • 包含以下子操作:
  • min_level:此类法术的最低等级(原型为 number
  • max_level:此类法术的最高等级(原型为 number
  • cast_type:法术的施放方式(INSTANTLONGCONTINUOUS)(原型为自定义)
  • 值由 value 定义
  • level:法术的等级(包括通过物品等的修改)(原型为 number
  • minlevelrarity:基于稀有度的法术最低等级(原型为 number
  • rarity_name:稀有度名称(COMMONRAREEPICLEGENDARY)(原型为自定义)
  • 值由 value 定义
  • rarity:稀有度的序号(0COMMON4LEGENDARY)(原型为 number
  • mana_cost:该等级法术的法力消耗(如果施放消耗法力)(原型为 number
  • manacostper_second:仅对持续法术设置(且如果施放消耗法力)(原型为 number
  • cast_duration:持续法术的持续时间(秒)(原型为 number
  • castchargetime:法术的充能时间(如果有)(秒)(原型为 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
作者Cadentem
下载量188,916
关注数25
支持版本1.19.2 - 1.21.1
加载器forge / neoforge
客户端unsupported
服务端required

友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作

历史访问人数:214,582  |  历史访问人次:323,906

今日访问人数:21,517  |  今日访问人次:25,657

昨日访问人数:30,537  |  昨日访问人次:36,142

Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.

Powered by GermMC 京ICP备17023959号-6