#How can i remove specific Mekanism Recipes?

37 messages · Page 1 of 1 (latest)

north radish
#

I using KubeJS Mekanism.

I tried to use type: 'mechanism:metallurgic infusing' but its doesnt working.

event.remove({type: 'mechanism:metallurgic infusing', output: 'mekanism:dust_steel'})
granite fogBOT
#

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

marsh basalt
#

try removing by id instead (event.remove({id: mekanism:processing/steel/enriched_iron_to_dust}))

cloud wagon
#

that wasnt even a valid recipe type that you tried 😛

north radish
north radish
cloud wagon
#

you cannot have spaces in IDs

marsh basalt
#

also it started in mechanism and not mekanism

#

I just noticed

cloud wagon
#

and the type is added by mekanism, not the KJS addon

#

so all in all, you shouldve tried {type: 'mekanism:metallurgic_infusing'}

#

most likely*

north radish
#
event.remove({type: 'mekanism:metallurgic_infusing')}
#

Error 😄

olive starBOT
#

Please send your server.txt log file.
You can find it here: minecraft/logs/kubejs/server.txt

north radish
olive starBOT
#

Paste version of server.txt from @north radish

marsh basalt
#
event.remove({type: 'mekanism:metallurgic_infusing'})
#

^ note. this will remove all infusing recipes

north radish
#

Brackets are a problem. Exactly the same as when programming " ; " 😄

#

Yeah, now it´s working. 😄 Thank you soo much and yes i known thats remove all recipes but i just would try if this work 😄

cloud wagon
#

im assuming youre not using a code editor hmmm

#

it wouldve yelled at you for that error

olive starBOT
#

If you're working with KubeJS scripts, configuration files, or similar things, we generally recommend using an actual IDE rather than just Notepad and its various siblings. In a lot of cases, it can help you with finding errors in your code faster and also gives you neat features like syntax highlighting, automatic formatting, et cetera! We recommend Visual Studio Code, since it's lightweight(-ish) and works very well with JavaScript files out-of-the-box.

north radish
#

Can I use Visual Studio?

marsh basalt
#

probably

cloud wagon
#

VS is not for this

#

i highly recommend against it lol

marsh basalt
#

same, for js

cloud wagon
#

in this context yes, but personally even in general i recommend against it raha

marsh basalt
#

I have vs

#

and I use it for c++

cloud wagon
#

i also had it for many years

#

and fuck me i dread it

marsh basalt
#

if I even do something in c++ raha

cloud wagon
#

i use vsc for everything, except for mc modding

marsh basalt
#

same