介绍
A very simple mod that allows you to configure your own food and meals by just making a simple config file for them. (Requires Forge)
Details about each config option can be found at the wiki.
When first starting the mod, a “_template.json” file will be created inside the “config/custommealery” folder. This will contain an example of all the possible configuration options for food, this file can be seen below. (Example for the MC 1.6 release, please look at the wiki for details about the changes in the 1.7 release.)
{ id: 590, nameid: "shinyBread", name: "Shiny Bread", texture: "minecraft:diamond",
colorOverlay: {
red: 150,
green: 255,
blue, 100,
}, eatTime: 12, healAmount: 2, saturationModifier: 0.3, isWolfsFavoriteMeat: false, rarity: "epic", hasEffect: true, isAlwaysEdible: true, maxStackSize: 1,
damageValue: 8, potionEffects: [ { potionid: 1, probability: 1.0, duration: 3, amplifier: 2 }, { potionid: 2, probability: 1.0, duration: 5, amplifier: 2 } ],craftingRecipe: { recipeResultAmount: 4, recipe: [ "264,264,264", "264,3,264", "264,264,264" ] }, furnaceRecipe: { recipeResultAmount: 4, inputid: 264, inputmeta: 1, experience: 4 }}
Only the first three values (id, nameid, name) must be available, the others are optional.
When you define your own food, you can use any folder structure you want, as long as it resides in the “config/custommealery” folder and ends with “.json”. (All files not ending with “.json” or with “_” as a prefix will be ignored.)
Icons can be added by adding a png file with the name nameid as filename, and it must reside in the same folder as your json file for that food item. Icons can optionally also be defined by referring to texture packs.
So if you for example make a meal with the nameid ‘shinyBread’, a possible folder structure could be:
config/custommealery/breads/shinyBread.json
config/custommealery/breads/shinyBread.png
config/custommealery/breads/shinyBread.png.mcmeta
Note: as you can see here, mcmeta files are also allowed, so animated icons are possible!
Idea by Jadedcat.
常见问题
Custom Mealery 支持哪些 Minecraft 版本?
Custom Mealery 支持 Minecraft Java 版 1.6.4–1.7.10,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Custom Mealery 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
kroeser 的其他作品
查看全部 →Cyclops Core
EvilCraft、Integrated Dynamics 等模组的前置库。
Common Capabilities
可被多个模组共享的 Forge 能力
Integrated Dynamics
一个可全面自动化控制家电的模组。
Integrated Tunnels
通过 Integrated Dynamics 网络传输其他物品
评论
登录后评论和评分