Behavior Pack Sample
This sample is the behavior pack used in the Behavior Pack Tutorial.
See the Intro to Behavior Packs documentation for a full tutorial on creating an aggressive cow using a behavior pack.
Using the Behavior Pack Sample
The behavior pack sample is a useful tool to check your work while completing the Behavior Pack Tutorial. Using it is as simple as adding it to your development_behavior_pack folder.
Locate the com.mojang folder
- Press Win+R to open Run.
- Copy and paste the following into the Open field:
%appdata%\Minecraft Bedrock\users\shared\games\com.mojang - Click OK.
Copy Behavior Pack sample into the com.mojang folder
- Click
development_behavior_packs. - Copy
behavior_pack_sampleinto the folder.
Enable the Behavior Pack in Minecraft
- Launch Minecraft and select Play.
- Select Create New World.
- Under Settings, scroll down to the Add-Ons section.
- Click on Behavior Packs to see all available packs.
- Click the MY PACKS drop-down to open it.
- Select My Behavior Pack and click Activate to add the behavior pack to the world.
- Click Create to create your world.
You now have aggressive cows in your world (for better or worse). Good luck!
Manifest
- entities/cow.json: This is a modified cow entity programmed with aggressive behavior.
- manifest.json: This is the manifest.json folder for the sample behavior pack.