Uploaded February 2024 | Updated December 2026, 3 hours ago
In this video you'll learn how to add JavaScript code to your addons and packs to create a more fun and exciting experience, or simply to do things you couldn't normally do with addons.
We cover many things, so don't be overwhelmed if you don't remember absolutely everything from the video - Just go over it again as many times as necessary. The topics covered are:
- What is JavaScript?
- Where to learn JavaScript?
- Adding the script API module to a pack's manifest
- Creating a "Hello World" script
- Listening to world events with a script
If you've found this tutorial at all helpful please help me out in return by liking the video, commenting, and subscribing! Make sure to ding that bell too so you don't miss future videos! If you know of anyone else who could benefit from watching this tutorial, please share it with them!
If you need assistance with scripting, please join the bedrock addons server:
discord.gg/pytC8zKHPn
References mentioned throughout the video:
W3 Schools JavaScript Tutorial
- w3schools.com/js
Bedrock Wiki - Project Setup
- https://wiki.bedrock.dev/guide/project-setup.html
Bedrock Wiki - Software and Preparation
- https://wiki.bedrock.dev/guide/software-preparation.html
Downloading and Installing Node JS and NPM
- docs.npmjs.com/downloading-and-installing-node-js-and-npm
ScriptAPIs NPMs from WavePlayz
- waveplayz.github.io/ScriptApi-NPMs/#
Jayly's Script API Docs
- jaylydev.github.io/scriptapi-docs
*Socials*
Website
- machinebuilderyt.com
Discord
- discord.gg/2jEabrSxb8
Twitter
- twitter.com/BuilderMachine
Video Chapters
0:00 Introduction
0:28 What We'll Cover
0:49 Preliminary Considerations
2:09 Subscribe lol
2:32 Creating a Behavior Pack and Manifest
6:55 Finding the Latest Stable Scripts
7:36 Creating the Script File
8:15 Choosing an Editor
8:47 NPM Installation for VSCode Typings
13:00 Writing our Script
15:26 Navigating Scripting Docs
18:15 Finishing our Script
20:00 Summary and Outro
In this video you'll learn how to add JavaScript code to your addons and packs to create a more fun and exciting experience, or simply to do things you couldn't normally do with addons.
We cover many things, so don't be overwhelmed if you don't remember absolutely everything from the video - Just go over it again as many times as necessary. The topics covered are:
- What is JavaScript?
- Where to learn JavaScript?
- Adding the script API module to a pack's manifest
- Creating a "Hello World" script
- Listening to world events with a script
If you've found this tutorial at all helpful please help me out in return by liking the video, commenting, and subscribing! Make sure to ding that bell too so you don't miss future videos! If you know of anyone else who could benefit from watching this tutorial, please share it with them!
If you need assistance with scripting, please join the bedrock addons server:
discord.gg/pytC8zKHPn
References mentioned throughout the video:
W3 Schools JavaScript Tutorial
- w3schools.com/js
Bedrock Wiki - Project Setup
- https://wiki.bedrock.dev/guide/project-setup.html
Bedrock Wiki - Software and Preparation
- https://wiki.bedrock.dev/guide/software-preparation.html
Downloading and Installing Node JS and NPM
- docs.npmjs.com/downloading-and-installing-node-js-and-npm
ScriptAPIs NPMs from WavePlayz
- waveplayz.github.io/ScriptApi-NPMs/#
Jayly's Script API Docs
- jaylydev.github.io/scriptapi-docs
*Socials*
Website
- machinebuilderyt.com
Discord
- discord.gg/2jEabrSxb8
- twitter.com/BuilderMachine
Video Chapters
0:00 Introduction
0:28 What We'll Cover
0:49 Preliminary Considerations
2:09 Subscribe lol
2:32 Creating a Behavior Pack and Manifest
6:55 Finding the Latest Stable Scripts
7:36 Creating the Script File
8:15 Choosing an Editor
8:47 NPM Installation for VSCode Typings
13:00 Writing our Script
15:26 Navigating Scripting Docs
18:15 Finishing our Script
20:00 Summary and Outro


![Create Custom Structures For MCPE Addons! [FRG V2 Release + Download!]
The FRG V2 is out!
Download now from itch.io! :)
https://machine-builder.itch.io/frg-v2
If you find errors or have suggestions, make sure to tell me on discord! (Discord link is below)
If you like what you see here hit the like button & subscribe!
also check out my website :
https://machine-builder.github.io
(and feel free to donate on paypal :D)
https://www.paypal.me/machinebuilder
And join my discord server for new releases and general chatting!
https://discord.gg/2jEabrSxb8
Also follow on instagram
@machine_builder2
instagram.com/machine_builder2 Create Custom Structures For MCPE Addons! [FRG V2 Release + Download!]](https://i.ytimg.com/vi/187lLFNvimI/mqdefault.jpg)




![[Livestream] Playing My Parkour Map
If you like what you see here hit the like button & subscribe!
Website :
https://machine-builder.github.io
Discord Server :
https://discord.gg/jYHAKY2
Twitter :
https://twitter.com/BuilderMachine/
Instagram :
https://instagram.com/machine_builder2
PayPal :
https://www.paypal.me/machinebuilder [Livestream] Playing My Parkour Map](https://i.ytimg.com/vi/3OVZqw42q1s/mqdefault.jpg)
![[Tutorial] How to use Raycasting in Minecraft Bedrock Edition
**Important Note**
To get this to work, your BPs manifest.json file must have min_engine_version set to [1, 19, 40], and you must enable the Upcoming Creator Features toggle in the experimental settings (as of version 1.19.41. Once 1.19.50 comes out this will all be in stable)
I know, I know... Been away from YouTube for forever... But Im finally done with the pain that was (and is) school!
So I decided Id create this quick tutorial as a way to jump back in to YouTube in hopes that Ill now be able to get into the more exciting bigger projects!
Anyway, this is just a quick video covering something that the new /execute syntax allows for - Raycasting!
If you like what you see here hit the like button & subscribe!
~Website~ https://www.machinebuilderyt.com
~Discord~ https://discord.gg/2jEabrSxb8
~Twitter~ https://twitter.com/BuilderMachine/ [Tutorial] How to use Raycasting in Minecraft Bedrock Edition](https://i.ytimg.com/vi/4ssgOPW0mc0/mqdefault.jpg)

