本插件允许你创建完全自定义的护甲,从每一部分的名称到强度都可以自由设定!
目前该插件功能较为简单,因为暂时不需要太多复杂的功能。但我计划添加更多内容!
功能特性
- 可合成的自定义设计护甲!
- 可自定义护甲部件、名称、强度、附魔、药水效果等更多选项!
- 可自定义整套护甲、护甲颜色、名称颜色
- 所有设置均可在配置文件中调整!
- 提供发放护甲的命令及已注册护甲列表
| 命令: | 权限: | 描述: |
| /CustomArmors | 无 | 基础命令,显示命令列表 |
| /CustomArmors give [Armor type] | CustomArmors.give.* 或 CustomArmors.give.[armor_set] | 给予玩家一套护甲(区分大小写!) |
| /CustomArmors list | CustomArmors.list | 列出所有已注册的护甲类型 |
| /CustomArmors version | CustomArmors.version | 显示插件版本号 |
| 无 | CustomArmors.wear.* 或 CustomArmors.wear.[armor_set] | 穿戴特定类型护甲的权限 |
| 无 | CustomArmors.craft.* 或 CustomArmors.craft.[armor_set] | 合成特定类型护甲的权限 |
配置信息
- 创建完你的护甲后,必须将你的护甲类型添加到 "Registered_Armor_Types:" 列表中!
- 如需更多关于 'Armors.yml' 配置的帮助 点击这里。
- 如需更多关于 'Settings.yml' 配置的帮助 点击这里。
合成配方
头盔:
名称: Example Breastplate
强度: 2
附魔: Thorns:22, Oxygen:5
配方:
第一行: DDD
第二行: DXD
第三行: XXX
材料说明: X=None,D=3
- X = None (空位)
- D = 264 (钻石)
- 使用 "," 分隔材料和附魔
- 配方仅接受物品 ID,不接受名称(抱歉 :|)
强度
护甲强度仍在完善中,但目前的工作原理如下:
- 将每件护甲部件的强度设为 0 时,其防护效果等同于普通皮革护甲。如果你希望比皮革更弱,可以使用负数值。
某些护甲部件(如胸甲)的强度与其他部件相比并无优势,它们是相同的。因此,建议给腿部和胸甲等部位赋予更高的强度,而不是头盔和靴子。
其工作原理是:根据玩家受到的伤害量,恢复一定比例的伤害。(具体取决于你护甲提供的“强度”值)
恢复公式为:“恢复量 = 伤害 * (0.08 * (强度 / 2))”
正如原版 Minecraft 中的护甲强度一样,每点强度增加 8% 的防御力。
护甲颜色
- 使用 RGB 颜色(红、绿、蓝)
推荐用于 RGB 颜色的配色工具:这个网站
名称颜色
与 Minecraft 文本 格式化代码 相同,只需去掉前面的 '&' 符号即可。
计划添加的功能
(按重要性从高到低排列)
- 重载命令,用于重新加载配置文件 (将在下一次更新中添加)
- 隐藏存储在物品描述中的数据(仅为了外观更好看)
- 重写护甲药水效果逻辑(将药水效果保存到物品上,而不是从配置文件中读取)
- 更详细的护甲保护机制(例如:仅针对闪电的保护)
- 每个护甲部件拥有多种信息(可能随机选取?)
- 每个护甲部件支持多种合成配方
- 在设置配置中添加高级选项(生成更详细和高级的配置设置)
- 修改配置逻辑,避免因微小错误导致所有内容被删除!(这可能超出我的控制范围)
如果有任何问题,请随时提问!
This plugin allows you to create your own customizable armors, anywhere from the name of each piece to the strength!
For now this plugin is quite simple, because it doesn't need to much. But I do plan to add more!
Features
- Craftable Customly Designed Armor!
- Customizable armor pieces, name, strength, enchantment, potion effects and much more!
- Customizable armor suits, armor color, name color
- All configurable in the config!
- Armor give command and list of registered armors
| Commands: | Permissions: | Description: |
| /CustomArmors | None | Base command, with commands list |
| /CustomArmors give [Armor type] | CustomArmors.give.* or CustomArmors.give.[armor_set] | Gives player armor set (case sensitive!) |
| /CustomArmors list | CustomArmors.list | Lists all registered armor types |
| /CustomArmors version | CustomArmors.version | Displays plugin version number |
| None | CustomArmors.wear.* or CustomArmors.wear.[armor_set] | Ability to wear type of armor or not |
| None | CustomArmors.craft.* or CustomArmors.craft.[armor_set] | Ability to craft armor type or not |
Config Information
- Once you make your armor you Must add your armor type to the "Registered_Armor_Types:" list!
- For more help on the 'Armors.yml' config Look Here.
- For more help on the 'Settings.yml' config Look Here.
Recipes
Helmet:
Name: Example Breastplate
Strength: 2
Enchantments: Thorns:22, Oxygen:5
Recipe:
Row1: DDD
Row2: DXD
Row3: XXX
Ingredients: X=None,D=3
- X = None (Nothing)
- D = 264 (Diamond)
- Separate ingredients and enchantments with a ","
- Recipes only accept item ids, not names (sorry :|)
Strength
Armor strength is still being worked on, but at this moment it works like this:
- Putting each piece of armor's strength at 0 will make it equivalent to just plain leather. Though if you wish for weaker than leather you can use negatives.
The strength is no better on some armor pieces(like the chest) than others, it's the same. So, it's recommended to give higher strengths to pieces like the legs and chest rather than the helmet and boots.
It works by taking the damage, taken by the player, and restoring a certain amount of it. (depending upon how much "strength" you have from your armor)
The restoring formula is this "restored amount = damage*(0.08*(strength/2)))"
Just like armor strength from vanilla Minecraft, each point of strength increases defense by 8%
Armor Colors
- Uses RGB colors (Red, Green, Blue)
For RGB colors recommend This Website
Name Colors
The same as the Minecraft text Formatting codes, just get rid of the '&' before it.
Features I Wish to Add
(From Most important to least)
- Reload command, to reload configs (Adding next update)
- Hide data stored in item lore (just to make it look better)
- Rewrite armor potion effects (save the potion effects to the item instead of pulling from the config)
- More detailed armor protection (ex. protection from only lighting)
- Multiple info's for each armor piece (maybe randomly picked?)
- Multiple recipes for each armor piece
- Advanced option in settings config (generates more detailed and advanced config settings)
- Change config so it doesn't delete everything if you make a little mistake! (this may be an issue outside of my control)
If you have any questions please ask!
评论 0
登录后参与评分
还没有评论,来抢沙发吧