自定义熔炉

自定义熔炉

一个模组包工具,允许添加自定义熔炉类型,支持通用机械和机械动力。

KubeJS

这个模组让你通过 KubeJS 定义自己的熔炉类型和等级,支持机械动力(Mekanism)的冶炼工厂,以及机械动力(Create)的鼓风机冶炼。

所有功能都由 KubeJS 实现,没有它(启动脚本)这个模组基本上毫无用处。

CustomFurnacesEvents.define(event => {
  event.vanilla('smelting')
    .tier('andesite', { speed: 1.2, fuelEfficiency: 0.8, color: '#a3a3a3' })
    .tier('diorite', { speed: 0.8, fuelEfficiency: 1.2, color: '#b0b0b0' })
    .tier('granite', { speed: 1.1, fuelEfficiency: 1.1, color: '#ffc7cb' })
    .tier('iron', { speed: 1.5, fuelEfficiency: 1.2, color: '#C6C6C6' })
    .tier('gold', { speed: 2.0, fuelEfficiency: 1.5, color: '#FCEE4B' })
    .factories(true)
  event.vanilla('blasting')
    .tier('andesite', { speed: 0.6, fuelEfficiency: 0.9, color: '#a3a3a3' })
    .tier('granite', { speed: 0.3, fuelEfficiency: 0.7, color: '#ffc7cb' })
    .tier('diorite', { speed: 0.8, fuelEfficiency: 0.5, color: '#b0b0b0' })
    .tier('gold', { speed: 2.0, fuelEfficiency: 1.5, color: '#FCEE4B' })
    .factories(true)
  event.vanilla('smoking')
    .tier('iron', { speed: 1.5, fuelEfficiency: 1.2, color: '#C6C6C6' })
    .tier('gold', { speed: 2.0, fuelEfficiency: 1.5, color: '#FCEE4B' })
    .factories(true)

event.create('kilning') .displayName('Kiln') .color('#e6bc8c') .cookTime(200) .baseTier('stone') .tier('stone', { speed: 1.0, fuelEfficiency: 1.0, color: '#e6bc8c' }) .tier('mud_brick', { speed: 0.7, fuelEfficiency: 0.95, color: '#78644e' }) .tier('iron', { speed: 1.5, fuelEfficiency: 1.2, color: '#e6cdb1', previous: 'stone', upgradeMaterial: 'minecraft:iron_ingot' }) .factories(true) .fan({ priority: 250, blockCatalysts: ['minecraft:magma_block'] }) // Haunt Furnace wrappers (soft-dep: skipped if hauntfurnace missing) event.haunt('haunting') .tier('iron', { speed: 1.5, fuelEfficiency: 1.2, color: '#5B3A6B' }) .tier('gold', { speed: 2.0, fuelEfficiency: 1.5, color: '#8B5A9B' }) .factories(true)

event.haunt('corrupting') .tier('iron', { speed: 1.5, fuelEfficiency: 1.2, color: '#3D2A5C' }) .tier('gold', { speed: 2.0, fuelEfficiency: 1.5, color: '#6B4A8C' }) .factories(true)

})