Getting Started with Add-on Development for Bedrock Edition

Add-Ons are the first pace on our journeying towards bringing even greater levels of customization to Minecraft: Boulder Edition. Add together-Ons allow players to transform the wait of their worlds and even change the behavior of mobs. For example, y'all can change the boom radius of a creeper and the texture it's wearing.

A creeper mob that has been re-textured to look like TNT

In this tutorial, you will learn the post-obit.

  • The file construction used past Minecraft Add together-Ons.
  • Software used for editing JSON files.
  • Extensions that are available to aid with Improver development.

com.mojang

When Minecraft is installed on your computer, at that place is a binder chosen com.mojang that is generated in the AppData folder. You will need to find this folder so you can add your content to it.

To locate the com.mojang binder on your computer, y'all volition demand to have Hidden items checkbox prepare to true, as shown below. while you're at it, go ahead and check the box for File name extensions, also.

Showing subconscious items

  1. Open up File Explorer from the taskbar.
  2. Select the View tab.
  3. In the Testify/hide section, select the checkboxes for File proper name extensions and Hidden items.

Image of Windows 10 File Explorer window's view options. The File name extensions and Hidden items boxes are checked to indicate that they are set to true

Locating com.mojang

  1. Press Win+R to open up Run.
  2. Copy and paste the following into the Open field: %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang
  3. Click OK.

Tip

Now would be a adept time to save a shortcut to this binder on your desktop.

Every bit shown in the image below, there are multiple subdirectories located inside the com.mojang folder.

Image of com.mojang on a Windows Explorer environment.

Tip

If you lot see more content in this binder than what is shown in a higher place, practise non panic! This image shows a fresh install of Minecraft.

Behavior, Pare, and Resource Packs

In that location are three folders called behavior_packs, resource_packs, and skin_packs that volition shop finalized custom content that will be added to Minecraft: Boulder Edition. Don't worry almost these folders correct now - you are going to be developing content, so you will be working in the evolution versions of these folders, as discussed in the next section.

Development Packs

Y'all volition use the development_resource_packs and development_behavior_packs folders for the Resource Pack and Behavior Pack tutorials. The development_skin_packs folder is used for developing pare packs. Evolution pack folders are updated each time Minecraft is launched so you can quickly load and examination the changes y'all made to their contents.

minecraftWorlds

minecraftWorlds contains each globe that has been generated within the current build of Minecraft. Each folder will as well comprise resource and behavior pack folders to contain whatever packs that may be in use within the globe.

Tip

It's recommended that when installing a new build of Minecraft, y'all should save a copy of this folder to utilize every bit a back up to prevent whatsoever potential loss of Minecraft Worlds that y'all may have.

Visual Studio Code

JSON is a popular text file format that is used by Minecraft: Bedrock Edition to interact with content. JSON can be edited in any text editor such as Notepad or Word. However, Visual Studio Lawmaking is a free to apply text-based editor that supports third party extensions, including some built specifically for Bedrock development.

Installing Visual Studio Code

Follow the link here to install Visual Studio Lawmaking.

Visual Studio Code Extensions

Visual Studio Code supports extensions created by the Visual Studio Code developer community. Extensions are a great way to help write and sympathise Minecraft syntax when working on resource and behavior packs.

Installing Extensions

  1. Click on this link to download Bedrock Definitions for Visual Studio Code.
  2. Click on this link to download Blockception's Minecraft Bedrock Evolution for Visual Studio Code.

What'south Adjacent?

Now that your evolution surround is set upwards, you can outset creating your showtime Add-On and larn more about resources packs.

Alternatively, if you would like to go started with commands in Minecraft, caput on over to Introduction to Command Blocks to learn how to utilise control blocks to chain together different commands.