#Cannot hide specific recipes in EMI

7 messages · Page 1 of 1 (latest)

burnt flint
#

Similar issue to #1273725689236815952 message

I'm running EMI with KubeJS version 2001.6.5-build.14, trying to hide specific recipes.

JEIEvents.hideItems(event => {
    event.hide(/thermal:.*_block/)
})

works for hiding items, but

JEIEvents.removeRecipes(event =>{
    event.remove("minecraft:crafting", "minecraft:crafting_table")
})

does not work for hiding specific recipes.
What gives?

weak stagBOT
#

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

rich coralBOT
#

[➤](#1273725689236815952 message)
I've tried using the jei.remove.recipes event, but it isn't working properly. Please help!

onEvent('jei.remove.recipes', event => {

['0','1','2','3','4','5','6','7','8','9','10','11','amalgam'].forEach(n => {
    event.hide(Item.of('kubejs:rune_'+n))
})

event.hide('kubejs:stellar_circuit_chemical_tank')
event.hide('kubejs:stellar_circuit_probe')
event.hide('kubejs:stellar_circuit_fluid_tank')
event.hide('kubejs:hypercompressed_core')

})
burnt flint
#

Bonus points if I can hide recipes by RegEx.

burnt flint
#

Bump

tepid schooner
burnt flint