#What is wrong?

18 messages · Page 1 of 1 (latest)

viscid anvil
#

onEvent('recipes', event => {
// Remove the crafting recipe for 'irons_spellbooks:cinderous_soulcaller'
event.remove({ output: 'irons_spellbooks:cinderous_soulcaller' });
});

i tried to remove the recipe but it does nothing?

soft nymphBOT
#

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

supple silo
#

Wrong version of kubejs for this version of Minecraft

viscid anvil
#

? hmm the other sripts work

supple silo
#

For 1.21.1

#

Oh if that's the case then you are in the wrong chat

viscid anvil
#

i dont fully understand then?

supple silo
#

Someone else can probably help you, but I'm just saying the #1047320998199955458 is the right chat. That's all
I just sent the stuff for the 1.21.1 stuff

supple silo
#

Well thats strange. Attempt it with the 1.21.1 setup then? Think it's something similar to

ServerEvents.recipes(event => { 
    event.remove({ output: 'irons_spellbooks:cinderous_soulcaller' });
})

Might be slightly wrong with the syntax cause I'm on my phone (but it's really only the class/function call at the start being different anyways)

viscid anvil
#

ok thx ill try rn

#

ok thx it worked 👍

supple silo
#

Surprised onEvents even exist anymore outside nativeEvents

#

But yea, id recommend just looking through that website I linked to see all the new classes/functions

viscid anvil
#

all the other recipes even from irons spells worked out that way 😐