#Custom components error

1 messages · Page 1 of 1 (latest)

severe spire
#

This was working before. Why is not working now?

19:06:45[Scripting][warning]-Component 'ilosemypotato:golem_kit' was not registered in script but used on an item

ashen totem
#

which @minecraft/server version are you using?
is golemKit.js imported into your entry script file?

severe spire
#

1.21.82

ashen totem
#

that doesn't exist

#

module dependency version

severe spire
#

{
"format_version": 2,
"header": {
"name": "§e§lMINECRAFT DUNGEONS",
"description": "PHURKO and İlosemypotato",
"uuid": "006fa935-8499-41df-9875-d15a36c6a017",
"version": [1, 0, 0],
"min_engine_version": [1, 21, 30]
},
"modules": [
{
"type": "data",
"uuid": "9dbf27c4-d05b-4263-b1df-0b028e060326",
"version": [1, 0, 0]
},
{
"uuid": "d7f02fa9-f236-487e-9d23-a80053ccd5f3",
"version": [1, 3, 8],
"type": "script",
"language": "javascript",
"entry": "scripts/main.js"
}
],
"dependencies": [
{
"uuid": "f6fab7c2-74dc-4783-85bf-18f33f521b9e",
"version": [1, 0, 0]
},
{
"module_name": "@minecraft/server",
"version": "1.13.0"
},
{
"module_name": "@minecraft/server-ui",
"version": "1.2.0"
}
]
}

#

@ashen totem

ashen totem
#

that's fine

severe spire
#

But why it doesn't work 😦

ashen totem
#

are you importing the golemKit script?

severe spire
#

Yes

#

With main.json

ashen totem
#

are there any other errors in the content log?

severe spire
#

No

#

:/

#

But custom component cooldown also works

ashen totem
#

if you put console.warn("hi") at the end of golemKit.js and then run /reload does the message appear in the content log?

severe spire
#

I will try

severe spire
#

Noting happened