Creator Academy

What files does a custom Minecraft Bedrock mob need?

A custom Bedrock mob is split across two packs. The behavior pack holds the entity file for health, movement and AI goals, plus a manifest. The resource pack holds the client entity, the .geo.json model, the texture, animations, animation controllers, language names and its own manifest. Both packs must use the same identifier.

Updated

The two packs

The behavior pack decides what the mob does. The resource pack decides how it looks, moves and sounds. Minecraft only joins them up when the names inside the files match exactly.

Moss_Golem_BP/
  manifest.json
  pack_icon.png
  entities/moss_golem.json
Moss_Golem_RP/
  manifest.json
  pack_icon.png
  entity/moss_golem.entity.json
  models/entity/moss_golem.geo.json
  textures/entity/moss_golem.png
  animations/moss_golem.animation.json
  animation_controllers/moss_golem.animation_controllers.json
  texts/en_US.lang
  texts/languages.json

Behavior packs use a folder called entities, resource packs use entity. Mixing them up is a common reason a mob never loads.

Behavior pack files

manifest.json

Names the pack and gives it a header UUID, a module UUID of type "data", a version and a minimum game version. It also lists the resource pack's header UUID as a dependency, so switching on the behavior pack switches on the resource pack too. More in Fix Bedrock manifest.json and UUID errors.

entities/moss_golem.json

The server side of the mob. It holds the identifier, such as mobloom:moss_golem, and components: health, collision box, movement, navigation, physics, and AI goals like random stroll, look at player, tempt or melee attack. Each AI goal has a priority, and lower numbers win.

{
  "format_version": "1.21.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mobloom:moss_golem",
      "is_spawnable": true,
      "is_summonable": true
    },
    "components": {
      "minecraft:health": { "value": 20, "max": 20 },
      "minecraft:movement": { "value": 0.2 },
      "minecraft:navigation.walk": {},
      "minecraft:movement.basic": {},
      "minecraft:behavior.random_stroll": { "priority": 6 }
    }
  }
}

Resource pack files

entity/moss_golem.entity.json (the client entity)

The switchboard. It uses the same identifier as the behavior file and gives short names to the material, texture, geometry and animations, lists a render controller that uses them, sets the spawn egg colours, and starts the animation controllers under scripts.animate.

{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "mobloom:moss_golem",
      "materials": { "default": "entity_alphatest" },
      "textures": { "default": "textures/entity/moss_golem" },
      "geometry": { "default": "geometry.mobloom_moss_golem" },
      "render_controllers": ["controller.render.default"],
      "spawn_egg": { "base_color": "#4e7c45", "overlay_color": "#b9d77a" }
    }
  }
}

models/entity/moss_golem.geo.json

The shape: bones, cubes, pivots and the texture size. The identifier inside it, such as geometry.mobloom_moss_golem, must match the geometry entry in the client entity. The file name does not matter, the identifier does.

textures/entity/moss_golem.png

The painted skin. The client entity points to it without the .png ending.

animations/moss_golem.animation.json

Keyframes that rotate, move or scale bones over time, one animation per motion.

animation_controllers/moss_golem.animation_controllers.json

State machines that decide which animation plays and when, for example a walk while moving, or a special pose at night. See Bedrock animation controllers explained.

texts/en_US.lang

The display names, such as entity.mobloom:moss_golem.name=Moss Golem and the spawn egg name.

How the files connect

If one of these breaks, you usually get an invisible mob, a shadow with no body, or a black spawn egg. See Why is my custom Bedrock mob invisible?

Or let Mobloom write them

Mobloom writes all of these files from what you build, paint, animate and choose in the maker, and keeps every name matched. A Mobloom export can hold a few more files when the mob uses them, such as spawn rules for a mob that appears in the wild, sounds, or a render controller of its own. You can unzip any Mobloom export to see them. Start with Make a Bedrock mob without writing JSON.

Questions

Do I need both a behavior pack and a resource pack?

For a new mob with its own look, yes. The behavior pack makes it exist and act, and the resource pack makes it visible.

Does the file name have to match the identifier?

No. Minecraft reads the identifier inside each file. Matching file names just make the pack easier to read.

What is a render controller?

It tells Minecraft which geometry, material and texture to draw. Most single-texture mobs use the built-in controller.render.default.

What is a .mcaddon?

A zip file holding both packs, renamed so Minecraft Bedrock imports it when you open it. See What is a .mcaddon file?

Sources: Microsoft Learn, Creating New Entity Types; Bedrock Wiki, Troubleshooting Entities; a real Mobloom export.

Make your mob. Skip the JSON.

Start free in your browser. No card needed to create.

Start creating free