page_type | author | description | ms.author | ms.date | languages | products | ||
---|---|---|---|---|---|---|---|---|
sample |
docsbryce |
The sample Behavior Pack used in the Behavior Packs Tutorial. |
v-bbortree |
05/17/2022 |
|
|
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.
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.
- Press Win+R to open Run.
- Copy and paste the following into the Open field:
%localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang
- Click OK.
- Click
development_behavior_packs
. - Copy
behavior_pack_sample
into the folder.
- 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!
- 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.