Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>MCBE Snippets & ExamplesNew to Visual Studio Code? Get it now.
MCBE Snippets & Examples

MCBE Snippets & Examples

forestJS

|
223 installs
| (0) | Free
Coding snippets and examples to help you make addons for Minecraft Bedrock!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

mcbe-snippets—examples

This extension provides helpful snippets of JavaScript code specifically designed for Minecraft Bedrock’s Script API. Whether you’re creating custom commands, forms, or other functionality, these snippets can assist you in your Minecraft Bedrock addon development.

Features

This extension includes the following snippets:

actionf - Action Form function modalf - Modal Form function messagef - Message Form function chatcmds - Custom chat commands. rkick - Designed to repeatedly kick players without the “staff” tag.

Installation

To install this extension:

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the square icon in the sidebar or pressing Ctrl+Shift+X.
  3. Search for “mcbe-snippets—examples” and click the Install button.
  4. Reload Visual Studio Code if prompted.

Usage

Once installed, you can access the snippets by typing their names in your JavaScript files. The extension will provide auto-completion suggestions as you type.

Contributing

Contributions are welcome! If you have additional snippets or improvements, feel free to contact forestcommands2 on https://discord.com.

Release Notes

1.0.0 Initial release with 5 snippets to enhance your Minecraft Bedrock addons. Stay tuned for future updates, which may include additional snippets and features.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft