#crafts don't work
10 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
ServerEvents.recipes(event => {
event.blasting('kubejs:worldsteel_nugget', 'kubejs:uncombined_worldsteel').cookingTime(300).xp(1.0)
event.shapeless(
Item.of('kubejs:worldsteel_ingot', 1),
[
'9x kubejs:worldsteel_nugget'
]
)
event.shapeless(
Item.of('kubejs:worldsteel_block', 1),
[
'9x kubejs:worldsteel_ingot'
]
)
event.shapeless(
Item.of('kubejs:uncombined_worldsteel', 1),
[
'undergarden:forgotten_ingot',
'gobber2:gobber2_ingot',
'botania:elementium_ingot',
'twilightforest:fiery_ingot',
'rats:oratchalcum_ingot',
'ad_astra:calorite_ingot',
'gobber2:gobber2_ingot_nether',
'aether_treasure_reforging:pyral_ingot',
'gobber2:gobber2_ingot_end'
]
)
})
console.info('Loaded the worldsteel_recipes279 279279279')
ok, so 2/4 scripts work, the "other_recipes279" is broken to
Paste version of latest.log from @halcyon wave
Errors I spotted from the log:
[18:47:11] [Render thread/ERROR]: med_recipes279.js#56: Error in 'ServerEvents.recipes': Invalid JavaScript value of type dev.latvian.mods.kubejs.recipe.schema.minecraft.ShapedRecipeSchema$ShapedRecipeJS[18:47:11] [Render thread/ERROR]: �rhino.EvaluatorException: Invalid JavaScript value of type �kubejs.recipe.schema.minecraft.ShapedRecipeSchema$ShapedRecipeJS (server_scripts:med_recipes279.js#56)[18:47:11] [Render thread/ERROR]: at �rhino.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:6
Is that the script that "isn't working"?
no, med_recipes279 is ok, the problem is with other_recipes279 and worldsteel_recipes279
so? the problem was in another script, after i fixed it? it worked again