#I tried to make an alloy with KubeJS TFC for two metals

30 messages · Page 1 of 1 (latest)

neon patrol
#

I dont know which part doesn;t work but one of them doesn't because the recipe doesn't show up in jei nor when you pit kiln it,
in startup scripts I have this:

onEvent('server.datapack.first', event => {
    event.addTFCMetal('genesis:molten_tsalachtite', 800, 75, 'genesis:tsalachtite_ingot', 'minecraft:iron_ingot')
})

and on server scripts I have this:

onEvent('recipes', event => {
    event.recipes.tfc.alloy('kubejs_tfc:genesis_molten_tsalachtite', [
        ['tfc:wrought_iron', 0.35, 0.3],
        ['tfc:zinc', 0.65, 0.7]
    ])
})
ancient cobaltBOT
#

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

viscid halo
#

haven't you already sent this before?

neon patrol
#

I did and waited for 3 days and no one said anything so I reopened it because no matter if I asked it again no one answered

#

any ideas?

viscid halo
#

you have posted 5 times in the past 3 days about the same issue. if you want a response you can always bump your post but don't be spammy about it
have you registered the fluid/ingot in startup? also, move the server.datapack.first stuff into server scripts

#

also, i'm pretty sure TFC registers their own iron ingot

#

so use that instead of minecraft:iron_ingot

neon patrol
#

the iron ingot is a placeholder for testing but k

#

and yes the fluid and the ingot are already in the game

viscid halo
#

hmm

neon patrol
#

does /kubejs reload startup will actually reload the startup scripts without me needing to full reopen the game?

viscid halo
#

no, not for registries or what you did

#

you'll have to restart

neon patrol
#

k thx I am currently checking

#

while it is loading the game are there ways for me to troubleshoot things myself like is there way for me to get know what or where things went wrong if the code looks good?

ocean jewel
#

the problem is that you are not good and you need to be good

viscid halo
#

unnecessary comment

honest nacelleBOT
#

You can find your KubeJS startup log here. You should send it if asked, as it contains helpful information: minecraft/logs/kubejs/startup.log
If you are on 1.18 or below it will be called startup.txt.

ocean jewel
#

were friends its a joke

viscid halo
#

ah

#

you can also look at your latest.log in your logs folder

neon patrol
ocean jewel
#

you said youd go along

neon patrol
#

sstill not working...

honest nacelleBOT
#

no u

neon patrol
viscid halo
#

not sure how to help here much, i'm not familiar with this addon. have you checked the rest of the wiki?

neon patrol
#

I tried looking for things that could help but nothing worked

neon patrol
#

solved it