#is it possible to change mod names in code?
16 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
let mc = 'minecraft:'
ServerEvents.recipes(event => {
event.shapeless(
Item.of(mc+'cobblestone', 3),
[
mc+'stone_pickaxe'
]
)
})
would this be what you are looking for?
yes but can i make it global? so it works for every folder i have
you could put let mekgens = 'mekanismgenerators:' in every file it needs to be in
actually, it might work between files (i will test that)
it does work between files, so if you put that line of code in one file, it should work for all of them
oh thanks
Ticket re-opened!
Ticket re-opened!
i could edit the code so that you need to typemekgens(item) instead of mekgens+item if you wanted that?
sure
thanks