#create mechanical craft

11 messages · Page 1 of 1 (latest)

flat inlet
#

does any one know the right syntax for create mechanical craft and can you update my code to it because i don't onderstant why it does't work
and i checked the item id's are correct

event.custom({
type: 'create:mechanical_crafting',
pattern: [
'aaaaaaa',
'abbbbba',
'abbbbba',
'abbcbba',
'abbbbba',
'abbbbba',
'aaaaaaa'
],
key: {
a: { item: 'minecraft:diamond' },
b: { item: 'minecraft:emerald_block' },
c: { item: 'minecraft:gold_block' }
},
result: {
item: 'kubejs:special_diamond',
count: 1
}
})

dense lichenBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

cloud forge
#

I know from multiple past support issues regarding the mechanical crafter that you're missing accept_mirrored: true|false which is a required component for this recipe type
Here's a working example: #1373460052794408960 message

analog yewBOT
#

[➤](#1373460052794408960 message)
No key accept_mirrored in
try this

ServerEvents.recipes(event => {
    event.custom({
        type: "create:mechanical_crafting",
        accept_mirrored: false,
        category: "misc",
        key: {
            L: {
                item: 'create:large_cogwheel'
            },
            C: {
                item: 'createcasing:creative_casing'
            },
            S: {
                item: 'create:cogwheel'
            },
            U: {
                item: 'extendedcrafting:ultimate_singularity'
            }
        },
        pattern: [
            ' L L L L ',
            'LCCCCCCCL',
            ' CSSSSSC ',
            'LCS   SCL',
            ' CS U SC ',
            'LCS   SCL',
            ' CSSSSSC ',
            'LCCCCCCCL',
            ' L L L L '
        ],
        result: {
            id: 'createcasing:creative_cogwheel'
        }
    })
})
flat inlet
# cloud forge I know from multiple past support issues regarding the mechanical crafter that y...

i updated my code with your tips but it sill doesn't work here you have it updated ServerEvents.recipes(event => {

event.custom({
type: 'create:mechanical_crafting',
accept_mirrored: false,
categoty: 'misc',
key: {
    a: { item: 'minecraft:diamond' },
    b: { item: 'minecraft:emerald_block' },
    c: { item: 'minecraft:gold_block' }
},
pattern: [
    'aaaaaaa',
    'abbbbba',
    'abbbbba',
    'abbcbba',
    'abbbbba',
    'abbbbba',
    'aaaaaaa'
],
result: {
    item: 'kubejs:special_diamond',
    count: 1
}

})
})

flat inlet
#

by the way it's a js file does it need to be a json

cloud forge
flat inlet
#

this is the item create code event.create('special_diamond').displayName('special diamond')

#

the item shows up in minecraft so i don't know

flat inlet
cloud forge
#

👍