#trying to add mekanism recipes

25 messages · Page 1 of 1 (latest)

twilit radish
#

im trying with all my might (idk how to code) to create a recipe for some of the mekanism's prosseces, but i cant seem to be able to make it so the machin's output dosnt just give one oof the prosseced item, and i cant add an infusing recipe for some reasons, anyone able to help ?
event.recipes.mekanism.Crushing("minecraft:netherite_scrap", "irons_spellbooks:keeper_flamberge" ) i want the to output 2 netherite scraps
event.recipes.mekanism.smelting("superbwarfare:cemented_carbide_ingot", "superbwarfare:raw_cemented_carbide_powder") that one works
event.recipes.mekanism.metallurgic_infusing("superbwarfare:netherite_action", "superbwarfare:cemented_carbide_action", "minecraft:redstone_dust", 1), this just dosnt work

brisk fableBOT
#

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

twilit radish
#

event.recipes.mekanism.metallurgic_infusing("superbwarfare:netherite_action", "superbwarfare:cemented_carbide_action", "minecraft:redstone_dust", 1) that one was supposed to have netherite_dust instead of redstone, but because it didnt work i tryed something different, didnt change anything

#

// Visit the wiki for more info - https://kubejs.com/
console.info('Hello, World! (Loaded server example script)')

ServerEvents.recipes(event => {

event.shaped(

Item.of('minecraft:echo_shard', 2), // arg 1: output
[
' B ',
'CAC', // arg 2: the shape (array of strings)
' B '
],
{
A: 'minecraft:amethyst_shard',
B: 'minecraft:experience_bottle', //arg 3: the mapping object
C: 'minecraft:sculk'
}
)
event.recipes.mekanism.Crushing("minecraft:netherite_scrap", "irons_spellbooks:keeper_flamberge" )

event.recipes.mekanism.smelting("superbwarfare:cemented_carbide_ingot", "superbwarfare:raw_cemented_carbide_powder")

event.recipes.mekanism.metallurgic_infusing("superbwarfare:netherite_action", "superbwarfare:cemented_carbide_action", "minecraft:redstone_dust", 1)

console.log('Hello! The recipe event has fired!')
})
thats the full script i made for now

prime estuaryBOT
#

You can write your code in a codeblock by typing it between the codeblock delimiters:
Note that these are backticks, not apostrophes

```js :arrow_left:

ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})

``` :arrow_left:

This example will look like this:

ServerEvents.recipes(event => {
  event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
prime estuaryBOT
#

Try !help

twilit radish
#

i just wanna know how i can make the output output more than 1 item, and why that "event.recipes.mekanism.metallurgic_infusing("superbwarfare:netherite_action", "superbwarfare:cemented_carbide_action", "minecraft:redstone_dust", 1)" aint workin

#

AAH

#

hold on

#
// Visit the wiki for more info - https://kubejs.com/
console.info('Hello, World! (Loaded server example script)')

ServerEvents.recipes(event => {

    event.shaped(
  Item.of('minecraft:echo_shard', 2), // arg 1: output
[
    ' B ',
    'CAC', // arg 2: the shape (array of strings)
    ' B '
],
{
    A: 'minecraft:amethyst_shard',
    B: 'minecraft:experience_bottle',  //arg 3: the mapping object
    C: 'minecraft:sculk'
}
)
    event.recipes.mekanism.Crushing("minecraft:netherite_scrap", "irons_spellbooks:keeper_flamberge" )

    event.recipes.mekanism.smelting("superbwarfare:cemented_carbide_ingot", "superbwarfare:raw_cemented_carbide_powder")

    event.recipes.mekanism.metallurgic_infusing("superbwarfare:netherite_action", "superbwarfare:cemented_carbide_action", "minecraft:redstone_dust", 1)

console.log('Hello! The recipe event has fired!')
})
thats the full script i made for now

im an idiot my bad

#

so why is that

event.recipes.mekanism.metallurgic_infusing("superbwarfare:netherite_action", "superbwarfare:cemented_carbide_action", "minecraft:redstone_dust", 1)
#

not workin

twilit radish
#

hm, i see i wont get any awnsers

twilit radish
#

Hm.....

#

What am i supposed to do in this situation

tepid dew
twilit radish
#

Thank you so much man

tepid dew
#

Hope that's actually the issue you're having 😄 I think most people are on vacation...

twilit radish
#

But eh

#

Ig ur right

#

Do you know why the line o' code about the metalurgic infusing didn't work ?

tepid dew
#

it has been a long time since I worked with mechanism in KubeJS...
Did you define your material for infusing comewhere?