#making a custom item
59 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
have you restarted the game since writing the script?
i am rn
it was `StartupEvents.registry('item', event => {
event.create('questcoin').displayName('&e&lQuest Coin')
})
`
i see nothing wrong with that
You can find your KubeJS startup log in /minecraft/logs/kubejs/startup.log.
If you are on 1.18 or below it will be called startup.txt.
Please send it if asked, as it contains helpful information.
oh wait
you didnt put the ID in quotes
bruh
StartupEvents.registry('item', event => {
event.create('questcoin').displayName('&e&lQuest Coin')
})
but then how tf did the game load
send me the logs so i can see if theres anything wrong
[12:09:45] [INIT] KubeJS 2001.6.4-build.138; MC 2001 forge
[12:09:45] [INIT] Loaded plugins:
[12:09:45] [INIT] - dev.latvian.mods.kubejs.forge.BuiltinKubeJSForgePlugin
[12:09:45] [INIT] - dev.latvian.mods.kubejs.forge.BuiltinKubeJSForgeClientPlugin
[12:09:45] [INIT] - com.probejs.ProbeJSPlugin
[12:09:45] [INIT] - com.tom.createores.kubejs.KubeJSExcavation
[12:09:45] [INIT] - dev.latvian.mods.kubejs.create.KubeJSCreatePlugin
[12:09:47] [INFO] Loaded script startup_scripts:coin.js in 0.143 s
[12:09:47] [INFO] example.js#5: Hello, World! (Loaded startup scripts)
[12:09:47] [INFO] Loaded script startup_scripts:example.js in 0.002 s
[12:09:47] [INFO] Loaded 2/2 KubeJS startup scripts in 1.246 s with 0 errors and 0 warnings
thats from before tho
still nothing, ill send the new longs
[12:14:47] [INIT] KubeJS 2001.6.4-build.138; MC 2001 forge
[12:14:47] [INIT] Loaded plugins:
[12:14:47] [INIT] - dev.latvian.mods.kubejs.forge.BuiltinKubeJSForgePlugin
[12:14:47] [INIT] - dev.latvian.mods.kubejs.forge.BuiltinKubeJSForgeClientPlugin
[12:14:47] [INIT] - com.probejs.ProbeJSPlugin
[12:14:47] [INIT] - com.tom.createores.kubejs.KubeJSExcavation
[12:14:47] [INIT] - dev.latvian.mods.kubejs.create.KubeJSCreatePlugin
[12:14:48] [INFO] Loaded script startup_scripts:coin.js in 0.15 s
[12:14:48] [INFO] example.js#5: Hello, World! (Loaded startup scripts)
[12:14:48] [INFO] Loaded script startup_scripts:example.js in 0.008 s
[12:14:48] [INFO] Loaded 2/2 KubeJS startup scripts in 1.071 s with 0 errors and 0 warnings
do this and send me the log again
(just send the file, not the contents)
StartupEvents.registry('item', event => {
event.create('questcoin').displayName('&e&lQuest Coin')
console.log('registry')
})
dont be lol
yeah, thats a vanilla feature
Paste version of startup.log from @sly linden
well then
your log doesnt reflect the console.log('registry') which means youre either editing the wrong files, or not saving
how would i not be saving lmao

its just a text editor, i dont know of any software that autosaves ._.
well i dident see a save button ._.
MS Word autosaves i guess
Ticket closed!
plsz.
you seem to be confused


