Files
OFModpack/kubejs/server_scripts/mods/Functional Storage/compacting_recipe.js
T
2026-06-14 01:24:29 +02:00

12 lines
487 B
JavaScript

ServerEvents.recipes(allthemods => {
function compacting(/** @type {$ItemStackKJS_} */LowerItem,/** @type {$ItemStackKJS_} */HigherItem) {
allthemods.custom({
type: "functionalstorage:custom_compacting",
higher_input: HigherItem,
lower_input: LowerItem
})
}
compacting(Item.of("8x utilitarian:tiny_charcoal"), Item.of("minecraft:charcoal"))
compacting(Item.of("8x utilitarian:tiny_coal"), Item.of("minecraft:coal"))
})