2026-02-28 21:10:56 -03: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"))
})