So I'm making a custom crafting using the Create KubeJS addon, and I'm getting this error:
[ERROR] ! main.js#17: Failed to create recipe for type 'create:mechanical_crafting': Unable to cast 'key:input_item_pattern_key' value '{LETTERS: 'and values'...}' to 'input_item_pattern_key'!
My server script is basically
ServerEvents.recipes(e => {
//A bunch of other recipes
//This one is getting the error vvvv
e.recipes.createMechanicalCrafting('kubejs:applied_star', [
' A ',
' ABA ',
'AAACDEAAA',
'ABFGHGIBA',
' AJKLMNA ',
' AGOGA ',
' APQAQPA ',
'ABRA ARBA',
'AAA AAA'
], {
A: 'ae2:fluix_block',
B: 'ae2:singularity',
C: 'ae2:annihilation_core',
D: 'ae2:flawless_budding_quartz',
E: 'ae2:formation_core',
F: 'ae2:spatial_anchor',
G: 'ae2:controller',
H: 'ae2:item_storage_cell_256k',
I: 'ae2:crafting_terminal',
J: 'ae2:charged_staff',
K: 'appmek:chemical_storage_cell_256k',
L: 'ae2:cell_component_256k',
M: 'ae2things:disk_drive_256k',
N: 'ae2:entropy_manipulator ',
O: 'ae2:fluid_storage_cell_256k',
P: 'ae2:tiny_tnt',
Q: 'ae2:mysterious_cube',
R: 'aeinfinitybooster:infinity_card'
})
//more recipes and finally,
}
What I think is weird is the fact that I have another recipe with the same shape and it works.. (The buggy one only has different ingredients)
More info:
- MC Ver.: 1.20.1
- Forge Ver.: 47.2.0
- Need the modlist? Just ask for it!
- I can also send the recipe that is similar to the problematic one and works
Note: If you note any similarity, I'm quite inspired by the ATM modpack.
Any help would be appreciated, thanks.
