[Bug]: oak drawer cannot be crafted using oak planks
MatteoPL opened this issue ยท 9 comments
Possible Fixes
Yes
Modpack Version
0.9
What happened?
I can't craft oak drawer using oak planks this is the only drawer recipe that don't work other like birch works.
latest.log
No response
Developer reports
No response
yeah i noticed, it looks like the oak drawer wants any productive trees planks, and not oak for some reason
I suspect you guys are all trying to make the drawers in some crafting computer, ae2, qio etc, semi says you're going to get functional drawers but when you pull it out you have a cupboard...
if you do it on regular crafting table, on a stick or vanilla then you get the little circular arrow to switch between multiple outcomes from the same crafting recipe..
Fix: go to ur ATM 10 folder and go to kubejs\server_scripts\mods. Make a folder called "functional storage". In folder functional storage make a file called Recipes.js and copy the code below in to it and save it and restart ur game.
File: kubejs\server_scripts\mods\Funtional Storage\Recipes.js
Size: 5.53kB
Type: JavaScript-File
// Made by Marobs 15-7-2024
// This file repairs the drawers recipes and make sure it doesn't have dubble recipes (handcrafted:*_cupboard) in All The Mods 10 (ATM10)
ServerEvents.recipes(allthemods => {
function RM(input) {
allthemods.remove({ id: input })
} // function to Remove items
RM('functionalstorage:oak_1') // Removes the old recipe for 1x1 oak drawer
RM('functionalstorage:spruce_1')
RM('functionalstorage:birch_1')
RM('functionalstorage:jungle_1')
RM('functionalstorage:acacia_1')
RM('functionalstorage:dark_oak_1')
RM('functionalstorage:crimson_1')
RM('functionalstorage:warped_1')
RM('functionalstorage:mangrove_1')
RM('functionalstorage:cherry_1')
RM('functionalstorage:framed_1')
RM('functionalstorage:oak_2') // Removes the old recipe for 1x2 oak drawer
RM('functionalstorage:spruce_2')
RM('functionalstorage:birch_2')
RM('functionalstorage:jungle_2')
RM('functionalstorage:acacia_2')
RM('functionalstorage:dark_oak_2')
RM('functionalstorage:crimson_2')
RM('functionalstorage:warped_2')
RM('functionalstorage:mangrove_2')
RM('functionalstorage:cherry_2')
RM('functionalstorage:framed_2')
RM('functionalstorage:oak_4') // Removes the old recipe for 2x2 oak drawer
RM('functionalstorage:spruce_4')
RM('functionalstorage:birch_4')
RM('functionalstorage:jungle_4')
RM('functionalstorage:acacia_4')
RM('functionalstorage:dark_oak_4')
RM('functionalstorage:crimson_4')
RM('functionalstorage:warped_4')
RM('functionalstorage:mangrove_4')
RM('functionalstorage:cherry_4')
RM('functionalstorage:framed_4')
function D1(output, input1, input2, input3) {
allthemods.shaped(output, ['aca', 'cbc', 'aca'], {
a: input1,
b: input2,
c: input3
})
} // function to Add the new recipe for 1x1 drawer
function D2(output, input1, input2, input3) {
allthemods.shaped(output, ['aba', 'aca', 'aba'], {
a: input1,
b: input2,
c: input3
})
} // function to Add the new recipe for 1x2 drawer
function D4(output, input1, input2, input3) {
allthemods.shaped(output, ['bab', 'ccc', 'bab'], {
a: input1,
b: input2,
c: input3
})
} // function to Add the new recipe for 2x2 drawer
D1('functionalstorage:oak_1', 'minecraft:oak_planks', 'minecraft:chest', 'minecraft:stick') // Add the new recipe for 1x1 oak drawer
D1('functionalstorage:spruce_1', 'minecraft:spruce_planks', 'minecraft:chest', 'minecraft:stick')
D1('functionalstorage:birch_1', 'minecraft:birch_planks', 'minecraft:chest', 'minecraft:stick')
D1('functionalstorage:jungle_1', 'minecraft:jungle_planks', 'minecraft:chest', 'minecraft:stick')
D1('functionalstorage:acacia_1', 'minecraft:acacia_planks', 'minecraft:chest', 'minecraft:stick')
D1('functionalstorage:dark_oak_1', 'minecraft:dark_oak_planks', 'minecraft:chest', 'minecraft:stick')
D1('functionalstorage:crimson_1', 'minecraft:crimson_planks', 'minecraft:chest', 'minecraft:stick')
D1('functionalstorage:warped_1', 'minecraft:warped_planks', 'minecraft:chest', 'minecraft:stick')
D1('functionalstorage:mangrove_1', 'minecraft:mangrove_planks', 'minecraft:chest', 'minecraft:stick')
D1('functionalstorage:cherry_1', 'minecraft:cherry_planks', 'minecraft:chest', 'minecraft:stick')
D1('functionalstorage:framed_1', 'minecraft:iron_nugget', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:oak_2', 'minecraft:oak_planks', 'minecraft:chest', 'minecraft:stick') // Add the new recipe for 1x2 oak drawer
D2('functionalstorage:spruce_2', 'minecraft:spruce_planks', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:birch_2', 'minecraft:birch_planks', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:jungle_2', 'minecraft:jungle_planks', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:acacia_2', 'minecraft:acacia_planks', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:dark_oak_2', 'minecraft:dark_oak_planks', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:crimson_2', 'minecraft:crimson_planks', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:warped_2', 'minecraft:warped_planks', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:mangrove_2', 'minecraft:mangrove_planks', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:cherry_2', 'minecraft:cherry_planks', 'minecraft:chest', 'minecraft:stick')
D2('functionalstorage:framed_2', 'minecraft:iron_nugget', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:oak_4', 'minecraft:oak_planks', 'minecraft:chest', 'minecraft:stick') // Add the new recipe for 2x2 oak drawer
D4('functionalstorage:spruce_4', 'minecraft:spruce_planks', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:birch_4', 'minecraft:birch_planks', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:jungle_4', 'minecraft:jungle_planks', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:acacia_4', 'minecraft:acacia_planks', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:dark_oak_4', 'minecraft:dark_oak_planks', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:crimson_4', 'minecraft:crimson_planks', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:warped_4', 'minecraft:warped_planks', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:mangrove_4', 'minecraft:mangrove_planks', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:cherry_4', 'minecraft:cherry_planks', 'minecraft:chest', 'minecraft:stick')
D4('functionalstorage:framed_4', 'minecraft:iron_nugget', 'minecraft:chest', 'minecraft:stick')
})
I suspect you guys are all trying to make the drawers in some crafting computer, ae2, qio etc, semi says you're going to get functional drawers but when you pull it out you have a cupboard... if you do it on regular crafting table, on a stick or vanilla then you get the little circular arrow to switch between multiple outcomes from the same crafting recipe..
nope, tried crafting in crafting table early on and found out it wouldnt use oak planks