#Sequenced Assembly

1 messages · Page 1 of 1 (latest)

blazing karma
#

Having trouble making a SA recipe. I don't get any errors, it just doesn't generate the recipe.

    event.custom({
        type: 'create:sequenced_assembly',
        ingredient: {
            item: 'immersiveengineering:hammer'
        },
        transitionalItem: {
            item: 'kubejs:incomplete_certus_wrench'
        },
        sequence: [
        {
            type: 'create:deploying',
            ingredients: [
            {
                item: 'kubejs:incomplete_certus_wrench'
            },
            {
                item: 'ae2:certus_quartz_crystal'
            }
            ],
            results: [
            {
                item: 'kubejs:incomplete_certus_wrench'
            }
            ]
        },
        {
            type: 'create:filling',
            ingredients: [
            {
                fluid: 'thermal:redstone',
                nbt: {},
                amount: 1000
            }
            ],
            results: [
            {
                item: 'kubejs:incomplete_certus_wrench'
            }
            ]
        },
        {
            type: 'create:haunting',
            ingredients: [
            {
                item: 'kubejs:incomplete_certus_wrench'
            }
        ],
        results: [
        {
            item: 'kubejs:incomplete_certus_wrench'
        }
        ]
        }
        ],
        results: [
        {
            item: 'ae2:certus_quartz_wrench',
            chance: 100.0
        }
        ],
        loops: 2
    })
})```
I followed along the Precision Mechanism recipe on Create's github, didn't copy it.
orchid abyssBOT
#

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

twilit jackal
#

I don't believe haunting is supported in sequenced assembly

#

Just fill, press, cut, and deploy

blazing karma
#

Changing it to Pressing didn't fix it

#

Actually, checking Kube warnings shows this. No idea what it means

twilit jackal
#

I'm not super familiar with the non-Kubejs Create method, did you double check it against the 1.19 sequenced assembly recipe?

blazing karma
#

I was just gonna say... I was following what was on the 1.18 branch 🤦

#

I'm updating my code to 1.19 right now

twilit jackal
#

Little things changed with some of the recipes, I'd dig into the create jar and look at the recipe from there

blazing karma
#

You're probably right, as there's a branch for 1.19 and 1.19.3

#

I'm on .2

twilit jackal
#

Did you add the transitional item as well? Not sure how that would be done in 1.19 but you might not be able to flag it as the assembly item type without reflection or the addon

blazing karma
#

Yup

#
    event.custom({
        type: 'create:sequenced_assembly',
        ingredient: {
            item: 'immersiveengineering:hammer'
        },
        loops: 2,
        results: [
        {
            chance: 100.0,
            item: 'ae2:certus_quartz_wrench'
        }
        ],
        sequence: [
        {
            type: 'create:deploying',
            ingredients: [
            {
                item: 'kubejs:incomplete_certus_wrench'
            },
            {
                item: 'ae2:certus_quartz_crystal'
            }
            ],
            results: [
            {
                item: 'kubejs:incomplete_certus_wrench'
            }
            ]
        },
        {
            type: 'create:filling',
            ingredients: [
            {
                fluid: 'thermal:redstone',
                nbt: {},
                amount: 1000
            }
            ],
            results: [
            {
                item: 'kubejs:incomplete_certus_wrench'
            }
            ]
        },
        {
            type: 'create:pressing',
            ingredients: [
            {
                item: 'kubejs:incomplete_certus_wrench'
            }
        ],
        results: [
        {
            item: 'kubejs:incomplete_certus_wrench'
        }
        ]
        }
        ],
        transitionalItem: {
            item: 'kubejs:incomplete_certus_wrench'
        }
    })
})``` Here's my current code
#

The .jar code appears to be the same as the 1.19 branch on the repo

floral muskBOT
#

Paste version of precision_mechanism.json from @blazing karma

blazing karma
#

There we go

#

I was missing the create:filling input

#

and... yeah no, haunting isn't allowed in a sequence recipes 😦

orchid abyssBOT
#

Ticket closed!