MMOItems修饰符应用问题 - Minecraft(我的世界)中文论坛 - Powered by Discuz!
Minecraft(我的世界)中文论坛
标题: MMOItems修饰符应用问题
[打印本页]
作者: ZXYLOVE
时间: 2021-8-3 12:18
标题: MMOItems修饰符应用问题
服务端:Paper-1.16.5
插件版本: MMOItems-6.57
前置版本: MythicLib-1.1.2
在使用修饰符修饰物品时附魔属性以及Lore、技能不能应用于该物品具体内容如折叠所示:
[MMOItems Item Generation] Could not merge EnchantListData modifier data into AbilityListData of ENCHANTS when generating DAGGER 1. [12:01:37 INFO]: [MMOItems Item Generation] Could not merge AbilityListData modifier data into StringListData of ABILITY when generating DAGGER 1. [12:01:37 INFO]: [MMOItems Item Generation] Could not merge EnchantListData modifier data into AbilityListData of ENCHANTS when generating DAGGER 1. [12:01:37 INFO]: [MMOItems Item Generation] Could not merge StringListData modifier data into EnchantListData of LORE when generating DAGGER 1. |
配置文件如下折叠所示:
Test1: option: roll-modifier-check-order: true base: # base项代表了武器的基础属性 tier: abab name: '&c我是一把武器' material: IRON_SWORD attack-damage: 4 attack-speed: 1.0 enchants: sharpness: 6.0 fire_aspect: 1 unbreaking: 3 max-durability: 256.0 hide-enchants: true modifiers: cx: # 修饰符first-modifier chance: 1 # 有30%的几率随到这个修饰符 weight: 1.5 stats: enchants: looting: 2 attack-speed: .4 # 该修饰符可以提供3点攻击力 ability: on-hit: type: SmashAttack mode: ON_HIT drain: 3.0 cooldown: 4.0 # 此处省略一些物品属性... lore: - '..........' - '&9我是潮汐!' second-modifier: chance: 1 # 有30%的几率随到这个修饰符 weight: 1.5 stats: enchants: looting: 2 ability: on-hit: type: SmashAttack mode: ON_HIT drain: 3.0 cooldown: 1.0 lore: - '&6我是日食!' a: chance: 1 # 有30%的几率随到这个修饰符 weight: 1.5 stats: enchants: looting: 2 ability: on-hit: type: SmashAttack mode: ON_HIT drain: 3.0 cooldown: 1.0 lore: - '&a我是霸王花!' b: chance: 1 # 有30%的几率随到这个修饰符 weight: 1.5 stats: enchants: looting: 5 lore: - '&2我是捕蝇草!'
|
作者: 一颗丁子
时间: 2021-8-3 18:54
一是尝试去除
option: roll-modifier-check-order: true这项设置二是你这是截取过的配置文件吗?不是的话你的格式是有问题的 参考这个 小木斧: option: tiered: true level-item: true base: material: WOODEN_AXE name: '&f小木斧' attack-damage: 2.8 attack-speed: 0.7 critical-strike-chance: 20.0 lore-format: nogs tier: 普通 lore: - '&f由树木削制的斧子' modifiers: 1: chance: 0.3 weight: 2.0 prefix: '' stats: element: fire: damage: 10.0 lore: - '&f木器是如何冒着火光的呢...'
|
作者: ZXYLOVE
时间: 2021-8-3 21:55
按你所说我试了一下 第一项排除
第二项修改之后我发现是修饰符配置内还是不能带有附魔样式的修饰符
删除附魔样式后Lore样式时好时坏
有时可以出来有时还是提示那个就很怪配置文件如下所示
帷幕: option: roll-modifier-check-order: true base: material: IRON_SWORD name: '&c帷幕🗡' attack-damage: 4 attack-speed: 1.0 tier: COMMON enchants: sharpness: 6.0 fire_aspect: 1 unbreaking: 3 max-durability: 256.0 hide-enchants: false modifiers: 1: chance: 1 weight: 1.2 stats: ability: on-hit: type: SmashAttack mode: ON_HIT drain: 3.0 cooldown: 4.0 # 此处省略一些物品属性... lore: - '&9我是潮汐!' 2: chance: 1 weight: 1.2 stats: element: fire: damage: 10.0 lore: - '&6我是日食!.' b: chance: 1 # 有30%的几率随到这个修饰符 weight: 1.2 stats: lore: - '&2我是捕蝇草!'
|
欢迎光临 Minecraft(我的世界)中文论坛 (https://www.mcbbs.net/) | Powered by Discuz! X3.5 |