#HELP!

49 messages · Page 1 of 1 (latest)

mental charmBOT
#

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

grand groveBOT
#

🗒️**Send the code!**🗒️
You may have an issue with a KubeJS script and you explain it to the best of your ability yet without the actual code in question we have very little to go off of in trying to assist you.

golden wadi
#
[14:08:49] [INIT] Loaded plugins:
[14:08:49] [INIT] - dev.latvian.mods.kubejs.forge.BuiltinKubeJSForgePlugin
[14:08:49] [INIT] - dev.latvian.mods.kubejs.forge.BuiltinKubeJSForgeClientPlugin
[14:08:49] [INIT] - moe.wolfgirl.probejs.plugin.BuiltinProbeJSPlugin
[14:08:49] [INFO] Loaded script startup_scripts:DiamondApple.js in 0.043 s
[14:08:49] [INFO] example.js#5: Hello, World! (Loaded startup scripts)
[14:08:49] [INFO] Loaded script startup_scripts:example.js in 0.001 s
[14:08:49] [INFO] Loaded 2/2 KubeJS startup scripts in 0.339 s with 0 errors and 0 warnings
[14:08:49] [ERROR] ! DiamondApple.js#3: Error in 'StartupEvents.registry': ReferenceError: "displayName" is not defined.
verbal valley
#

thats not the code

golden wadi
#

is error

verbal valley
#

yeah but show us your diamondapple.js

golden wadi
#

my minecraft crashing

verbal valley
#

we cant do anything without seeing the code in question like lexxie said

#

not a screenshot

#

send it actually here please

golden wadi
#
StartupEvents.registry('block', event =>{
  event.create('diamondapple')
  displayName('DiamondApple')
  maxStackSize(64)
})
verbal valley
#

ty

#

you're missing the period after these js .displayName('DiamondApple') .maxStackSize(64)

#

they have to go off event.create().displayName().maxStackSize() ect

#

not event.create()displayName()maxStackSize()

golden wadi
#

what?

#

I didn't understand what you meant

verbal valley
golden wadi
#

OMG

#

I SEE YOU TUTORIAL

verbal valley
#

yes watch my tutorial Xd

golden wadi
#

but not work 😦

verbal valley
#

like i said before, you're missing periods before these

icy narwhal
#

You missed the periods

verbal valley
#

xd

icy narwhal
golden wadi
#

hmm

#

What happened to the json to give an error? he who created himself

icy narwhal
#

What

golden wadi
#

json give a error

verbal valley
#

just ignore it if you didnt touch it

golden wadi
#

ok

verbal valley
#

if you messed with it and now its erroring just delete it and reboot your game

#

also whys it in startup scripts folder?

golden wadi
#

And why did you show it like that in the tutorial and for me where?

icy narwhal
icy narwhal
golden wadi
#

whats this?

pastel vine
#

I feel like you should be making seperate tickets for each issue so as not to be confused. You added the periods , to your code, correct?

verbal valley
verbal valley
#

we never messed with json files

icy narwhal
dapper quartz
#

ajuda o maluco tá doente!

icy narwhal