现代工业化多槽流体仓

现代工业化多槽流体仓

Add Multi-Slot Fluid Input/Output Hatch to Modern Industrialization Mod. 为现代工业化模组增加多槽流体输入/输出仓。

技术

为Modern Industrialization添加2槽、4槽、8槽及其他多槽流体输入/输出仓。

允许同一流体输出到多个槽位,允许同一流体输入到多槽输入仓的多个槽位(这些功能可通过配置文件禁用)。

允许使用流体容器右键仓室直接输入输出流体。

支持使用KubeJS创建多槽流体输入/输出仓:

// startup_scripts\*.js
MIMachineEvents.registerHatches(event => {
    // 创建单槽流体输入/输出仓
	event.fluid("englishPrefix","prefix","casing",bucketCapacity); 
    
	// 创建多槽流体输入/输出仓,槽位数量为slotCount
	event.fluid("englishPrefix","prefix","casing",bucketCapacity, slotCount); 
    
	 // 创建多槽流体输入/输出仓,每行有rowSlotCount个槽位,共columSlotCount行
	event.fluid("englishPrefix","prefix","casing",bucketCapacity, rowSlotCount, columSlotCount); 
})

前置需求