#Trying to remove recipes that use and make molten diamond

39 messages · Page 1 of 1 (latest)

hard mortar
#

I am trying to remove molten diamond from my modpack by removing the recipes that make and use it.
but it is not removing the recipes, here is the code:

onEvent('recipes', event => {
event.remove({output: 'tconstruct:molten_diamond_bucket'})
event.remove({input: 'tconstruct:molten_diamond_bucket'})
})

waxen etherBOT
#

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

acoustic grotto
#

what type of recipes are these?

hard mortar
#

Multiple types, I am trying to remove them all at once, there are fill and empty recipes from create and melting recipes from tinkers, I have also tried to remove them by recipe ID but that doesn't work either

acoustic grotto
#

the thing is that event.remove wont be able to go through every type of recipe because of how different mods set it up differently

#

so it might remove some or most, but not all

#

for the ones it doesnt remove, you should use the id filter

hard mortar
#

I already tried to remove them by recipe ID, it didn't work

acoustic grotto
#

try with the recipes.after_load event

hard mortar
#

How would you use that event, since I can't find anything about it in the documentation.

acoustic grotto
#

exactly the same, just add the .after_load

#

the only difference is that this event can only be used to remove recipes

hard mortar
#

Thanks, I will try that tomorrow

hard mortar
#

It didn't work

acoustic grotto
#

with ID?

hard mortar
#

Yes

acoustic grotto
#

can you send me your script file together with the server log

hard mortar
#

Yes, but I'll have to do that later, I am busy right now

acoustic grotto
#

No worries

hard mortar
hard compassBOT
#

Paste version of molten-gems.js from @hard mortar

acoustic grotto
#

thats a funny id

hard mortar
hard compassBOT
#

Paste version of server.txt from @hard mortar

acoustic grotto
hard mortar
#

the lines that say unifying has loaded is because of a console log in another script

acoustic grotto
#

ye das fine

#

@static terrace any idea how to remove these recipes, nothing seems to work and im out of ideas hmmm

static terrace
#

thats an autogenerated recipe

#

the bucket filling one

#

youll be able to remove all the others tho

acoustic grotto
#

werent you able to still remove them with the ID thing

static terrace
#

in the after load event, yes

#

which is still broken

acoustic grotto
#

ah thats why then

#

wait its broken in 1.18?

static terrace
#

yes

acoustic grotto
#

oh

waxen etherBOT
#

@hard mortar Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!