#Need help trying to make server menu ui form

1 messages · Page 1 of 1 (latest)

lofty cloud
#

But now says that there is an error for '@minecraft/server-ui'

lusty hemlock
#
let item = eventData.itemStack
lofty cloud
#

ty

lofty cloud
#

it doesn't work

#

says the eror

iron fractalBOT
#
Debug Result

JavaScript/TypeScript code blocks not detected in [message](#1113402540122439712 message).
You can either send the script in code block highlighted in JS format:

​`​`​`js
world.sendMessage("Hello World");
​`​`​`

Or Send an attachment end in .js to debug the file.

lofty cloud
#

im doing gui

twilit matrix
#

;-;

#

item.typeId

crisp tundra
#

….item.typed?

#

Where do I put it

twilit matrix
#

yk

if (item.typeId ==....
crisp tundra
#

Ok ty

crisp tundra
#

It keeps coming up with the error

#

[g - 1.0.0] - does not contain main file [main.js].

#

Need help

hazy birch
#

rename your file into main.js