Avaritia:Reforged

Avaritia:Reforged

45.5k Downloads

Extreme Crafting Recipes / 询问]

KervinN54 opened this issue · 1 comments

commented

Checks / 检查

  • I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
  • I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。

Description / 描述

I am simply trying to use the custom recipe type for the extreme crafting table and it is not working. I am trying to make a modpack, and need these recipes for it. I have tried reloading with kubejs, reentering my world, and restarting my game. But all 3 of these have failed to make the recipe show up in jei or work when all items are manually placed.
image_2024-07-18_195313197
That is the photo of the code I am using, I copy and pasted the outline and simply swapped out the input, output, and shape/placement of items. What am I doing wrong?

commented

@KervinN54 see this

ServerEvents.recipes(
    event => {
        event.custom({
            type: 'avaritia:shaped_extreme_craft',//shapeless is avaritia:shapeless_extreme_craft。
            pattern: [
                "       I ",
                "      III",
                "     III ",
                "    III  ",
                " C III   ",
                "  CII    ",
                "  NC     ",
                " N  C    ",
                "X        "
            ],
            key: {
                C: [
                    {item: 'avaritia:crystal_matrix_ingot'}
                ],
                I: [
                    {item: 'avaritia:infinity_ingot'}
                ],
                N: [
                    {item: 'avaritia:neutron_ingot'}
                ],
                X: [
                    {item: 'avaritia:infinity_catalyst'}
                ]
            },
            result: {item: 'avaritia:infinity_sword'}
        })
        event.custom({
            type: 'avaritia:compressor',
            inputCount: 2000,
            timeCost: 240,
            ingredient: {tag: 'forge:ingots/copper'},
            result: { item: 'avaritia:singularity', count: 1 , nbt: {Id: 'avaritia:copper'}}
        })
        console.log('Hello! The avaritia recipe event has fired!')
    }
)