#Can a recipe whitelist be made?
26 messages · Page 1 of 1 (latest)
Once your question has been answered, please close this post with </resolve:1050379261372006400> command!
??filter_logic
Recipe filters can combine other filers in different ways to enable not, and and or logic.
- {not: {a: b}} //
notfilter, invert logic - {a: b, c: d} //
andfilter, both must match - [{a: b}, {c: d}] //
orfilter, either must match
Examples are:
Removes every recipe from the mod with the id MOD that has an output of the item minecraft:beacon.
event.remove({mod: "MOD", output: "minecraft:beacon"})
Removes every recipe except the ones from the mod with the id MODID.
event.remove({not: {mod: "MODID"}})
These logic components can also be combined:
event.remove({output: 'modID:itemID', not: { id: 'some:id'}})
Perfect, thank you!

Ticket closed!
Is it possible to use that logic when hiding things in JEI? I've tried this but it isn't working:
'immersiveengineering:ore_aluminum',
'immersiveengineering:deepslate_ore_aluminum',
'immersiveengineering:ore_lead',
'immersiveengineering:deepslate_ore_lead',
'immersiveengineering:ore_silver',
'immersiveengineering:deepslate_ore_silver',
'immersiveengineering:ore_nickel',
'immersiveengineering:deepslate_ore_nickel'
]}})```
i dont think you can use a list there 
but you can try this
event.hide({
mod: 'immersiveengineering', not: {
id: /^immersiveengineering:(deepslate_)*ore_(aluminum|lead|silver|nickel)/
}
})
That doesn't seem to be doing anything and didn't give me any errors in the client log.
oh wait i actually fucked it up
i modified it
but now that i think of it
why do you wanna hide everything from IE except a couple ores?
lol I'm going to be unhiding more of the content as I develop the pack, but at the moment the only thing I'm using from the mod are the ores. I just want to do it like this because I'm going to be excluding a majority of the mod's content from my pack and don't want to disable all of that individually.
I'm going to be using more of IE's content later, I'm just disabling it all for now until I get to that point in the pack's progression.
I mostly just used that list as an example for the question.
ah
The modified version didn't do anything either. Someone in the other thread I posted mentioned using "Ingredient.of". Any idea how I'd do that?
hm can you link me to it
should probably move this there then
