配置文件(CookingConfig)
基本信息
| 属性 |
值 |
| 加载类 |
CookingConfig.load(File),在 preInit 中调用 |
| 配置文件路径 |
config/cookingforblockheads.cfg |
general
| Key |
默认值 |
范围 |
说明 |
sinkRequiresWater |
true |
— |
true 时 水槽 需管道供水;false 时提供无限水 |
ovenRequiresCookingOil |
false |
— |
true 时 烤箱 只接受烹饪油作燃料(需 Pam’s Harvestcraft) |
disallowOvenAutomation |
false |
— |
true 时禁用烤箱的管道自动化插入/取出 |
ovenFuelTimeMultiplier |
0.33f |
0.1–2.0 |
烤箱燃料倍率,1.0 为原版熔炉基准 |
ovenCookTimeMultiplier |
1f |
0.25–9.0 |
烤箱烹饪时间倍率,越大越慢 |
blocks / items
设为 false 会停用对应合成配方。
| Key |
类别 |
默认值 |
说明 |
Sink |
blocks |
true |
水槽 |
Cooking Oven |
blocks |
true |
烤箱 |
Toaster |
blocks |
true |
烤面包机 |
Crafting Book |
items |
true |
配方书;同时会停用 烹饪台 配方 |
#NoFilter Edition |
items |
true |
配方书 的 metadata 3 无过滤版 |
modules
设为 false 会停用对应 mod 支持。
| Key |
默认值 |
说明 |
Vanilla Minecraft |
true |
水槽支持、原料配方 |
Pam's HarvestCraft |
true |
多方块厨房、工具支持、烤箱配方与燃料、原料配方 |
EnviroMine |
true |
多方块厨房支持(冷冻) |
AppleCore |
true |
动态食物属性 |
StorageDrawers |
true |
StorageDrawers |
Jabba |
true |
Jabba |
Dreamcraft |
true |
Dreamcraft |
Gregtech5U |
true |
Gregtech5U |
IndustrialCraft2 |
true |
IndustrialCraft2 |
Use Pam's Toast |
true |
true 时 吐司 改用 Pam’s 版本 |
[!NOTE]
Vanilla Minecraft 之外,这些模块的目标 mod 多为软依赖。不在本 wiki 收录范围的:
EnviroMine、StorageDrawers、Dreamcraft、MineTweaker。
已登记:applecore、harvestcraft、jabba、gregtech。
client
| Key |
默认值 |
说明 |
disableItemRender |
false |
关闭 冰箱 与烤箱内的物品渲染 |
运行时检测
gregtech5uLoaded 不是配置项,而是 Loader.isModLoaded("gregtech") && !Loader.isModLoaded("gregapi_post")
在加载时计算得出,用于区分 GT5U 与 GT6 环境。