#Mass remove recipes depending on the machine they are made in

40 messages · Page 1 of 1 (latest)

raw dome
#

I want to remove all recipes that use the industrial foregoing ore laser and fluid laser. I have removed the recipes for the laser base and ore and fluid laser so they are uncraftable but i would like to hide the recpes from jei or remove them entirely

glass waveBOT
#

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

gilded nest
#

Do they not have recipe ids?

raw dome
#

they do but there is a lot of them

#

8 pages of them

#

so 24 in total

gilded nest
#

So you just want them all gone?

raw dome
#

ideally

#

if its not possible its okay

gilded nest
#

It's possible, lemme cook it up for ya

raw dome
#

tysm, u need any code or ids?

gilded nest
#

Nope

#

I think this should work in a recipe event:

    event.remove({type: "industrialforegoing:laser_drill_ore"})
    event.remove({type: "industrialforegoing:laser_drill_fluid"})
raw dome
#

hey that worked :D

#

tysm

gilded nest
#

No problem 🙂

raw dome
#

and to hide it from jei i use

event.hide('industrialforegoing:laser_drill')
#

in the client scripts

gilded nest
#

You have to add _ore (and _fluid in a separate hide)

raw dome
#

oh yep

#
    event.hide('industrialforegoing:laser_drill')
    event.hide('industrialforegoing:ore_laser_base')
    event.hide('industrialforegoing:fluid_laser_base')
gilded nest
#

Thats the block id, not the recipe type id

raw dome
#

oh isnt that for hiding the item in jei?

gilded nest
#

The recipe type id shows when hovering on the craft icon in a jei recipe

#

Sorry no

raw dome
#

ohh okay

gilded nest
#

The recipe id shows on the craft icon, not the type id

raw dome
#

im confused

#

the recipes are removed but i want to hide the blocks from jei

gilded nest
#

Oh I got confused

#

Yeah you were right I was dumb

raw dome
#

oh ahahah

#

its okay we all have our moments

gilded nest
#

I forgot this is JEI we're talking about lol

raw dome
#

algs

gilded nest
#

So don't add the things I said for hide

#

But keep the recipe stuff

raw dome
#

yep cool