#Difficulty removing Ad Astra's steel alloying recipe

28 messages · Page 1 of 1 (latest)

mystic sun
#

I'm trying to remove Ad Astra's steel recipe using KubeJS, but it doesn't seem to be removing it, does anyone know what's wrong?

ServerEvents.recipes(event => {
    event.remove({type: "ad_astra:alloying", output: "immersiveengineering:ingot_steel"})
})

The immersive engineering steel is due to the pack I made replacing all steel types with IE steel

ashen lanternBOT
#

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

warm otter
#

does the mod have kubejs support? without it, that wont work
you can only remove it by ID if there's no KJS support

mystic sun
#

How do I do it by ID?

tame whaleBOT
#

To find a recipe's ID, turn on advanced tooltips (F3 + H) then hover over the RECIPE OUTPUT in JEI, or the exclamation mark in REI.
You can then use this in any recipe filter:
{id: 'recipe ID here'}
You can use this, for example, to remove specific recipes:
event.remove({id: 'recipe ID here'})

mystic sun
#

...Problem, Mac blocks F3-H

warm otter
mystic sun
#

I'm gonna need someone else to grab the recipe ID

warm otter
#

i just tried it on my macbook

#

i used fn + shift + f3 + h

#

lmao

#

wacky combos

mystic sun
#

I did that and there's no recipe ID

warm otter
#

then i hope you like to go dumpster diving in the mod files and find the recipe json file xD

mystic sun
#

I'm doing that but IDK if I need the entire file path

warm otter
#

if you dont know how to get the ID from the path, just paste the path from the recipes folder in, including the file name

#

and the mod id

mystic sun
#

Do I need to add recipes/...?

warm otter
#

just paste the path here :P

mystic sun
#

Mac doesn't let me copy file path

warm otter
#

hold the option key when rightclicking a file and then you have the option to copy pathname

mystic sun
#

/Users/[REDACTED]/Desktop/ad_astra-forge-1.20.1-1.15.20/data/ad_astra/recipes/alloying/steel_ingot_from_alloying_iron_ingot_and_coals.json

#

Redacted my username as it has my IRL name

warm otter
#

ad_astra:alloying/steel_ingot_from_alloying_iron_ingot_and_coals
that is the recipe ID

mystic sun
#

tyty

#

Nice, the recipe is gone :D

warm otter
#

nice nice