#recipes not working

8 messages · Page 1 of 1 (latest)

rose pawn
#

I have two recipes on for Advaned AE and Creat new age but it's not working need help plz

 event.custom({
    type: 'advanced_ae:reaction_chamber',
    input_item: { 
      ingredient: { item: 'minecraft:ender_pearl' },
      amount: 16
    },
    input_fluid: { 
      ingredient: { fluid: 'minecraft:water' },
      amount: 1000 // Amount in mB
    },
    output_item: { 
      item: 'extendedterminal:charged_ender_pearl',
      count: 16
    },
    energy: 2500, // Energy cost for the operation
    time: 50     // Processing time in ticks (20 ticks = 1 second)
    })


    event.custom({
      type: 'create_new_age:reinforced_energiser',
      input_item: {
        ingredient: { item: 'minecraft:ender_pearl' },
        count: 1
      },
      output_item: {
        item: 'extendedterminal:charged_ender_pearl',
        count: 1
      },
      energy_cost: 2500
    })
tidal tuskBOT
#

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

abstract sand
#

it is very explicit of what is wrong

reaction_chamber is not a recipe type, you need to find what is the real type of this kind of recipe

rose pawn
#

I'm trying to add recipe for this block

#

this is the id of the block

#

so how can I find the real type?

abstract sand
#

on their recipe json

rose pawn
# abstract sand on their recipe json

thank you for your help but I did get it working use this code

 event.custom({
    type: 'advanced_ae:reaction', 
    input_items: [
      {
        ingredient: { item: "minecraft:ender_pearl" },
        amount: 16 
      }
    ],
    input_fluid: {
      ingredient: { fluid: "minecraft:water" }, 
      amount: 1000
    },
    output: { 
      id: "extendedterminal:charged_ender_pearl", 
      count: 16,
      "#": 16,   
      "#t": "ae2:i" 
    },
    input_energy: 2500, 
    time: 200      
  }).id('kubejs:reaction/charged_ender_pearl')