#help with this code in minecraft

1 messages · Page 1 of 1 (latest)

cunning stormBOT
#
No Errors

No errors in [code](#1105610525343240303 message)

karmic halo
#

the code is fine

#

but idk why its not working

sullen forum
karmic halo
#

wait lemme go check

#

i see

sullen forum
#

Im not the best but i think its a problem with manifest? I have no idea otherwise

#

The others are just fixed with rp

karmic halo
#

i dont even have a rp in the world lol

sullen forum
#

Well thats it for the bottem 3 but the manifest should have all the things you import like minecraft/server

karmic halo
#

wait how do i just make it the normal 1.1.0

#

this is what i tried to do

{
    "format_version": 2,
    "header": {
        "name": "Kill Detection",
        "description": "Made By Wilco",
        "uuid": "ed3c52ba-4c2e-11ed-bdc3-0242ac120002",
        "version": [
            1,
            0,
            0
        ],
        "min_engine_version": [
            1,
            19,
            50
        ]
    },
    "modules": [
        {
            "type": "data",
            "uuid": "ed3c59c2-4c2e-11ed-bdc3-0242ac120002",
            "version": [
                1,
                1,
                10
            ]
        },
        {
            "description": "Plugin Module",
            "type": "script",
            "language": "javascript",
            "uuid": "239c134f-67bf-4738-9bcc-8c69d31b1f72",
            "version": [
                1,
                1,
                0
            ],
            "entry": "scripts/index.js"
        }
    ],
    "dependencies": [
        {
            "version": "1.1.0",
            "module_name": "@minecraft/server"
        }
    ],
    "metadata": {
        "generated_with": {
            "bridge": [
                "1.8.4"
            ]
        }
    }
}```
sullen forum
#

Hmm sorry bro gotta wait for a smarter dude it seems 😕 im stumped lmao

#

I foucus on commands alot more than other things

karmic halo
#

same bro i feel u

radiant hawk
#

Your main file is in scripts folder and is called index?

karmic halo
#

yes

#

this is the new updated content

radiant hawk
#

Ah okay

#

Change the manifest version to "1.2.0-beta"

karmic halo
#

i want the 1.1.0

radiant hawk
#

The dependency one

#

You want the stable version of the api?

karmic halo
#

yes

radiant hawk
#

Then it’d just be 1.1.0

#

Wait uh

radiant hawk
#

Oh i see. Your module version (the type:script, language:javascript one) is 1,0,0

#

Change that to 1,1,0

karmic halo
#

ok

radiant hawk
#

Yea

karmic halo
radiant hawk
#

Try the 1,1,0 ting for the version for the dependencies

karmic halo
#

i did

radiant hawk
#

Instead of "1.1.0"?

karmic halo
#

oh

radiant hawk
#

Events don’t exist in the stable api, unfortunately

cunning stormBOT
#
No Errors

No errors in [code](#1105610525343240303 message)

karmic halo
#

wdym??????

radiant hawk
#

Events don’t exist in the stable versions of the API

#

Stable minecraft? Yes, they exist- under the experimental toggle

#

Stable API (no experimental toggle)? They do not- which is what 1.1.0 version is for

karmic halo
radiant hawk
#

If you use "1.2.0-beta", events are accessible

#

It does require the experimental toggle tho

glad spokeBOT
karmic halo
#

ah ok