Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.78 KB

File metadata and controls

57 lines (47 loc) · 1.78 KB

Contributing

Contributing infomation. This info changes because Script API is currently in active development, and breaking changes are frequent.

Scripts

When submitting a new package. The scripts are assumed that they can be used with the latest beta module of script modules in latest version of Minecraft Preview, the following is a reference of a manifest dependencies and NPM packages for meeting the criteria of submitting or updating a script sample.

manifest.json

This repository may have scripts that requires the following dependencies with their latest module version:

"dependencies": [
    {
        "module_name": "@minecraft/server",
        "version": "1.2.0-beta"
    },
    {
        "module_name": "@minecraft/server-editor",
        "version": "0.1.0-beta"
    }
    {
        "module_name": "@minecraft/server-ui",
        "version": "1.0.0-beta"
    },
    {
        "module_name": "@minecraft/server-gametest",
        "version": "1.0.0-beta"
    },
    {
        "module_name": "@minecraft/server-admin",
        "version": "1.0.0-beta"
    },
    {
        "module_name": "@minecraft/server-net",
        "version": "1.0.0-beta"
    }
]

This repository may have scripts that requires the following capabilities:

"capabilities": [
    "editorExtension",
    "script_eval"
]

NPM packages: