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
#trying to add mekanism recipes
25 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
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
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)
})
thats didnt rly help me
Try !help
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
hm, i see i wont get any awnsers
here you didn't use Item.of()
I usually use:
event.shapeless("4x minecraft:stick", "minecraft:cobblestone")
where the "4x " is included in the output string
Ooooh.... Dammit, i tried a lotta things but not that, i even tried event.shapeless(4x"Minecraft :item", blablabla
Thank you so much man
Hope that's actually the issue you're having 😄 I think most people are on vacation...
Well, i did ask on the 30 of june
But eh
Ig ur right
Do you know why the line o' code about the metalurgic infusing didn't work ?
it has been a long time since I worked with mechanism in KubeJS...
Did you define your material for infusing comewhere?