加载时出现
[10:43:14 WARN]: [MythicMobs] ✗ Config Error for Item 'SkeletonKingSword' in 'ExampleItems.yml': Attributes are configured incorrectly.
[10:43:14 WARN]: [MythicMobs] ✗ Config Error for Item 'KingsCrown' in 'ExampleItems.yml': Attributes are configured incorrectly.
使用的是mm的默认示例配置
配置:
复制代码
[10:43:14 WARN]: [MythicMobs] ✗ Config Error for Item 'SkeletonKingSword' in 'ExampleItems.yml': Attributes are configured incorrectly.
[10:43:14 WARN]: [MythicMobs] ✗ Config Error for Item 'KingsCrown' in 'ExampleItems.yml': Attributes are configured incorrectly.
使用的是mm的默认示例配置
配置:
- # For more information, check out the plugin manual or join us on Discord:
- # http://www.mythicmobs.net
- #
- SkeletonKingSword:
- Id: DIAMOND_SWORD
- Data: 0
- Display: '&3Greatsword of the Skeleton King'
- Lore:
- - '&6A powerful sword used by'
- - '&6the King of Skeletons.'
- Enchantments:
- - DAMAGE_ALL:5
- - KNOCKBACK:2
- - FIRE_ASPECT:2
- Attributes:
- MainHand:
- Health: 10
- MovementSpeed: 0.1
- KingsCrown:
- Id: GOLDEN_HELMET
- Data: 0
- Amount: 1
- Display: '&dCrown of the King'
- Lore:
- - '&6A kingly crowl that grants'
- - '&6the wearer unwavering power!'
- Enchantments:
- - PROTECTION_ENVIRONMENTAL:2
- - PROTECTION_PROJECTILE:2
- - PROTECTION_FIRE:2
- - PROTECTION_EXPLOSIONS:2
- Hide:
- - ATTRIBUTES
- - ENCHANTS
- Attributes:
- Head:
- Health: 10
- KnockbackResistance: 10
- BanditTunic:
- Id: LEATHER_CHESTPLATE
- Display: '&aBandit Tunic'
- Lore:
- - '&6A leather tunic taken from'
- - '&6the corpse of a bandit.'
- Options:
- Color: 255,40,40
楼主你使用的核心是什么呢?下面的网址有提到说适用于Paper核心和他的分支
https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/Items/Attributes
https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/Items/Attributes
这个不用管他,我这边也有。直接把里面的内容删掉就行了!
你开一下debug,他应该就不会把具体报错吞掉了
删除原有的item.yml 重启服务器让插件自己重新生成即可