我的世界添加其他模组武器兼容
1.12.2版本的文件位于.minecraftconfigmmorpgCompatibleItems.txt,打开后在里面新增下面的内容.
强烈建议使用notepad++打开,不然会出现未知错误
首先是预留格式:
{
“version”: “1.0”,
“map”: {
“modid:itemid1”: {
“itemType”: “Sword”,
“isSalvagable”: true,
“dropWeight”: 1000,
“uniqueItemWeight”: 0,
“normalItemWeight”: 80,
“runedItemWeight”: 20,
“randomUniqueUpToTier”: 10,
“minRarity”: 0,
“maxRarity”: 5,
“levelVariance”: 0,
“uniqueId”: “”,
“uniqueIsRandom”: true,
“minLevel”: 1,
“maxLevel”: 100,
“statsAddedOnlyOnDrop”: false,
“dropsAsLoot”: true
},
“modid:itemid2”: {
“itemType”: “Sword”,
“isSalvagable”: true,
“dropWeight”: 1000,
“uniqueItemWeight”: 0,
“normalItemWeight”: 80,
“runedItemWeight”: 20,
“randomUniqueUpToTier”: 10,
“minRarity”: 0,
“maxRarity”: 5,
“levelVariance”: 0,
“uniqueId”: “”,
“uniqueIsRandom”: true,
“minLevel”: 1,
“maxLevel”: 100,
“statsAddedOnlyOnDrop”: false,
“dropsAsLoot”: true
}
},
“list”: []
}
然后在预留格式下面开始添加:
“ID(这个按F3+H可以查看)”: {
“itemType”: “类型,剑是Sword,法杖是Staff,弓是Bow,锤子是Hammer,斧子是Axe,盾牌是Shield,头盔是Helmet,胸甲是Chest,护腿是Pants,靴子是Boots”,
“isSalvagable”: true,
“dropWeight”: 1000,
“uniqueItemWeight”: 0,
“normalItemWeight”: 80,
“runedItemWeight”: 20,
“randomUniqueUpToTier”: 10,
“minRarity”: 最小品阶,
“maxRarity”: 最大品阶,
(注意:品级范围最小是0最大是5,对应黑铁级-钻石级)
“levelVariance”: 0,
“uniqueId”: “”,
“uniqueIsRandom”: true,
“minLevel”: 最小等级,
“maxLevel”: 最大等级,
“statsAddedOnlyOnDrop”: false,
“dropsAsLoot”: true
},
没懂?举个栗子,我想兼容背刺模组的钻石匕首,归类为剑,最低品级(minRarity)为黑铁,最高品级(maxRarity)为钻石,装备时同步玩家等级范围为(minLevel)30-80级(maxLevel)
“backstab:diamond_dagger”: {
“itemType”: “Sword”,
“isSalvagable”: true,
“dropWeight”: 1000,
“uniqueItemWeight”: 0,
“normalItemWeight”: 80,
“runedItemWeight”: 20,
“randomUniqueUpToTier”: 10,
“minRarity”: 0,
“maxRarity”: 5,
“levelVariance”: 0,
“uniqueId”: “”,
“uniqueIsRandom”: true,
“minLevel”: 30,
“maxLevel”: 80,
“statsAddedOnlyOnDrop”: false,
“dropsAsLoot”: true
},
内容是添加在这个下面!也就是预留两条的中间!!!