战歌与音符
模组名:jei附魔信息1.16(https://www.mcmod.cn/class/2855.html
如题,其他模组的附魔信息如何添加,请给出流程。

adgame
可以看作者的wiki啊

战歌与音符
adgame 发表于 2021-10-12 08:43
可以看作者的wiki啊

请给出流程

adgame

开发者可以查看 WIKI 以了解如何自行添加附魔信息

我就只能帮到这了,上不了外网

道家深湖
{
    "_comment": "Enchantments",
    "enchantment.discernment.discernment": "Discernment",
    "enchantment.discernment.discernment.description": "Prevents a living entity (including a player) from damaging any peaceful mob while:\n1) The entity is wearing an item as armor, or holding an item in their main or off hand, that has this enchantment on it.\n2) The entity is not sneaking.",

    "_comment": "Effects",
    "effect.discernment.discernment": "Discernment",

    "_comment": "Potions",
    "item.minecraft.potion.effect.discernment": "Potion of Discernment",
    "item.minecraft.potion.effect.long_discernment": "Potion of Discernment",
    "item.minecraft.splash_potion.effect.discernment": "Splash Potion of Discernment",
    "item.minecraft.splash_potion.effect.long_discernment": "Splash Potion of Discernment",
    "item.minecraft.lingering_potion.effect.discernment": "Lingering Potion of Discernment",
    "item.minecraft.lingering_potion.effect.long_discernment": "Lingering Potion of Discernment",
    "item.minecraft.tipped_arrow.effect.discernment": "Arrow of Discernment",
    "item.minecraft.tipped_arrow.effect.long_discernment": "Arrow of Discernment"
}

每句的格式: "enchantment.[MOD_ID].[ENCHENTMENT_REGISTRY_NAME].description": "[DESCRIPTION]"
例子: "enchantment.jeienchantmentinfo.fire_protection.description": "Reduces fire damage and burn time."


https://github.com/Phylogeny/Dis ... ent/lang/en_us.json上给你找的例子。
在如果你要是做中文,照着这个格式添加zh_cn的语言文件即可。做完之后可以塞进任何一个mod放lang的位置,或者自己弄个资源包。

如果你不知道如何弄资源包,你可以阅读https://minecraft.fandom.com/zh/wiki/%E8%B5%84%E6%BA%90%E5%8C%85
不是一两句话能说清楚的。






战歌与音符
道家深湖 发表于 2021-10-12 10:27
从https://github.com/Phylogeny/Discernment/blob/1.16.4/src/main/resources/assets/discernment/lan ...

我也是这么弄的,是不是要同时弄两个语言包,一个英文一个中文才能生效

道家深湖
战歌与音符 发表于 2021-10-12 11:42
我也是这么弄的,是不是要同时弄两个语言包,一个英文一个中文才能生效 ...

不用。只有中文也可以

1431597450
换用其它mod‘

第一页 上一页 下一页 最后一页