Files
ATM10/minecraft/kubejs/server_scripts/mods/Functional Storage/compacting_recipe.js
2026-01-27 17:19:00 +00: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"))
})