{"id":13692080,"url":"https://github.com/JaylyDev/ScriptAPI","last_synced_at":"2025-05-02T19:31:23.958Z","repository":{"id":37265511,"uuid":"458944145","full_name":"JaylyDev/ScriptAPI","owner":"JaylyDev","description":"Community Driven Scripts for Minecraft's Scripting","archived":false,"fork":false,"pushed_at":"2025-01-14T09:23:24.000Z","size":8351,"stargazers_count":151,"open_issues_count":11,"forks_count":22,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-07T15:01:55.684Z","etag":null,"topics":["bedrock","bedrock-addons","bedrock-edition","gametest","minecraft","minecraft-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JaylyDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-13T22:07:49.000Z","updated_at":"2025-01-22T18:04:46.000Z","dependencies_parsed_at":"2023-12-26T05:26:27.421Z","dependency_job_id":"9a862745-f229-4b0a-a738-637648c59415","html_url":"https://github.com/JaylyDev/ScriptAPI","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaylyDev%2FScriptAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaylyDev%2FScriptAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaylyDev%2FScriptAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaylyDev%2FScriptAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaylyDev","download_url":"https://codeload.github.com/JaylyDev/ScriptAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252095216,"owners_count":21693877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bedrock","bedrock-addons","bedrock-edition","gametest","minecraft","minecraft-server"],"created_at":"2024-08-02T17:00:53.431Z","updated_at":"2025-05-02T19:31:23.952Z","avatar_url":"https://github.com/JaylyDev.png","language":"JavaScript","funding_links":[],"categories":["Documentation"],"sub_categories":[],"readme":"# ScriptAPI Samples\n\nThis repository is filled with community driven script samples for Minecraft Bedrock Script API.\n\n\u003chr/\u003e\n\n### 🔴 USE `stable` not `main` 🔴\n\n**Check out the `stable` branch from here: https://github.com/JaylyDev/ScriptAPI/tree/stable**.\nThe `main` branch is used for script development for Minecraft Preview and may often be in a **broken** state.\n\n\u003chr/\u003e\n\n## [Scripts](./scripts/)\n\nCommunity driven scripts that use Script API to do all kinds of crazy stuff in Minecraft.\n\n\u003e [!IMPORTANT]\n\u003e Some scripts might use API modules that are only enabled in specific runtime environments, including:\n\u003e\n\u003e `@minecraft/server-net` and `@minecraft/server-admin`: Modules that can only be used in [Bedrock Dedicated Servers](https://www.minecraft.net/en-us/download/server/bedrock).\n\u003e\n\u003e `@minecraft/vanilla-data` and `@minecraft/math`: These are external Minecraft libraries published to NPM. They are not part of Minecraft's native modules.\n\nThere are two ways to use external Minecraft libraries in behavior pack scripts:\n\n1. **Standalone file**\n\n   Download standalone files available from [jaylydev.github.io](https://jaylydev.github.io/scriptapi-docs/meta/cdn-links.html) for quick, small-scale projects.\n\n2. **Bundling**\n\n   Installing it through npm, with advanced build configurations and bundling with esbuild:\n\n    ```bash\n    npm i @minecraft/math\n    npm i @minecraft/vanilla-data\n    ```\n\nGuide on bundle Minecraft Scripts with the following bundlers:\n\n- ESBuild (Recommended): [Bundle Minecraft Scripts with ESBuild](https://jaylydev.github.io/posts/bundle-minecraft-scripts-esbuild/)\n- Webpack: [Bundle Minecraft Scripts with Webpack](https://jaylydev.github.io/posts/scripts-bundle-minecraft/)\n\n## Documentation\n\nCheck out the following links for Script API documentation:\n\n- [Official Script API Documentation](https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/) - Microsoft's official documentation of high-level introduction of experimental Script API\n- [Jayly's Script API References](https://jaylydev.github.io/scriptapi-docs/) - Jayly's Script API documentation with guides and easy to use and understand API references for programming beginners.\n- [Bedrock Wiki](https://wiki.bedrock.dev/scripting/scripting-intro.html) - Learn the basics of the Script API on Bedrock Wiki.\n\n## Contributing\n\nPlease contribute to this repository if you can. Check out [Contributing Guidelines](./CONTRIBUTING.md) for more infomation.\n\n## License\n\nThis project is licensed under the MIT license.\n\nCopyrights on the script files are each contributor listed at the beginning of each script file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJaylyDev%2FScriptAPI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJaylyDev%2FScriptAPI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJaylyDev%2FScriptAPI/lists"}