Minecraft guide

How to make a custom mob in Minecraft: Bedrock, Java and commands

Checked on 25 November 2026 against Microsoft Learn, minecraft.wiki, the Fabric and NeoForge docs, GeckoLib’s wiki and Blockbench’s plugin registry.

7 min readPublished .Updated .

Three blocky creature models on a dark ground: a pale grey six-legged cave crawler with no eyes and a mouth full of teeth, a green mutant brute in a torn orange jumpsuit with one huge arm, and a nautilus with a pearly blue shell striped in violet.
Eyeless cave crawler, Mutant brute with oversized arm and Chambered nautilus: Myrlin Studio’s free Minecraft Java creature models, a cave mob, a boss and a sea creature.

The short answer

On Bedrock, a custom mob is an add-on: a behavior pack gives it health, movement, AI goals, drops, a spawn egg and spawn rules, and a resource pack gives it a model, texture and animations. On Java, a new kind of mob needs a mod: an entity type, attributes, goals and a renderer, with GeckoLib for Blockbench animations.

What a custom mob is made of

A mob is behavior, run by the server, plus looks, drawn by the client. Getting the model in: how to add a custom model.

The parts of a mob on each edition
The parts of a mob on each edition
PartBedrock add-onJava mod
Health and speedminecraft:health, minecraft:movementAttributes such as MAX_HEALTH, MOVEMENT_SPEED
AIminecraft:behavior.* goalsGoals in registerGoals()
LooksClient entity, .geo.json, textureRenderer, model, texture; GeckoLib for Blockbench animations
Natural spawningA spawn rules fileSpawn placement, biome modifier (NeoForge)
Dropsminecraft:loot and a loot tableLoot table <namespace>:entities/<name>
Spawn egg"is_spawnable": trueA SpawnEggItem

Bedrock: a behavior pack and a resource pack

The behavior pack’s entity file defines the mob, the resource pack’s client entity its looks: “Both are required to add a new entity type to the game.” Both share one identifier in your own namespace, never minecraft.

Quick start: Minecraft Entity Wizard

  1. Step 1

    Install the plugin

    Install Minecraft Entity Wizard (JannisX11 and Mojang Studios, updated April 2026) from the Available tab.

    File, then Plugins

  2. Step 2

    Start from a vanilla mob

    Pick an appearance and a behavior from the vanilla presets; Microsoft suggests beginners take both from the same mob.

  3. Step 3

    Set the spawn egg

    Two colors, your own PNG (ideally 16 by 16), or none.

  4. Step 4

    Export

    New packs, an existing add-on or an .mcaddon. “In the web app, the only option available to export your pack is MCAddon.”

Write the behavior file

By hand, the behavior lives in entities/<name>.json in the behavior pack, built from Microsoft’s components:

entities/crawler.json in the behavior pack
{
  "format_version": "1.21.90",
  "minecraft:entity": {
    "description": {
      "identifier": "sample:crawler",
      "is_spawnable": true,
      "is_summonable": true
    },
    "components": {
      "minecraft:physics": {},
      "minecraft:health": { "value": 20, "max": 20 },
      "minecraft:movement": { "value": 0.25 },
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:navigation.walk": { "avoid_water": true },
      "minecraft:behavior.random_stroll": { "priority": 6, "speed_multiplier": 1.0 },
      "minecraft:behavior.look_at_player": { "priority": 7, "look_distance": 8 },
      "minecraft:loot": { "table": "loot_tables/entities/crawler.json" }
    }
  }
}
  • Body and health: minecraft:physics gives gravity and collision, which nearly every custom mob needs; health counts half hearts.
  • Moving: movement sets the speed, movement.basic walks, jump.static climbs blocks and navigation.walk finds paths.
  • AI goals: each minecraft:behavior.* component is a goal, and “0 is the highest priority”. A hostile mob adds behavior.nearest_attackable_target, behavior.melee_attack and minecraft:attack.

Spawn rules, loot and the spawn egg

  • Spawn rules: a file in spawn_rules/ with the same identifier, a population_control pool (animal, water_animal or monster) and conditions such as brightness_filter, weight and biome_filter.
  • Loot: a table in loot_tables/entities/, named by minecraft:loot.
  • Spawn egg: is_spawnable puts it in the creative inventory; the client entity’s spawn_egg sets its colors and texts/en_US.lang its name.

Numbers to know

  • 20

    health points by default, 10 hearts

    minecraft:health

  • 0.25

    the movement speed of most animals

    minecraft:movement

  • 0 to 15

    the light levels a spawn rule can filter

Without Blockbench

A client entity can “reference materials, textures, and geometry from the vanilla Minecraft Resource Pack”, so a new mob can borrow a vanilla body and keep its own behavior. Mojang’s bedrock-samples (opens in a new tab) repository holds the vanilla packs.

Java: a new mob needs a mod

minecraft.wiki says a Java resource pack cannot change any entity’s model apart from item frames, though it can repaint mob textures. Data packs hold loot tables and variants of a few vanilla mobs (flagged as experimental), with no folder for new entities. A new mob is code; the Fabric (opens in a new tab) and NeoForge (opens in a new tab) docs walk through it:

  1. Step 1

    Write the entity class

    Extend PathfinderMob, the class most pathfinding mobs use.

  2. Step 2

    Register the entity type

    Give it a size and a MobCategory; with MISC it is “unable to be spawned naturally at all”.

  3. Step 3

    Register its attributes

    Living entities must have defaults: FabricDefaultAttributeRegistry on Fabric, EntityAttributeCreationEvent on NeoForge.

  4. Step 4

    Add goals

    In registerGoals(); lower numbers run first.

    this.goalSelector.addGoal(1, new RandomStrollGoal(this, 1));
  5. Step 5

    Model and renderer

    Register both. Blockbench’s Modded Entity format exports the model as Java.

    File, then Export, then Export Java Entity

  6. Step 6

    Spawn egg and spawning

    Register a SpawnEggItem. On NeoForge, a neoforge:add_spawns biome modifier adds the mob to biomes, and a spawn placement stops it spawning “inside blocks and in midair”.

Animation and GeckoLib

Vanilla animates entities with keyframes in code; NeoForge can load them from JSON, “similar to third-party libraries such as GeckoLib”. GeckoLib (opens in a new tab) (MIT; Fabric, Forge, NeoForge, Quilt; updated 23 November 2026) plays Blockbench animations: install its GeckoLib Models & Animations plugin, start a GeckoLib Animated Model, and put the .geo.json in assets/<modid>/geckolib/models/ and the .animation.json in assets/<modid>/geckolib/animations/. Keyframes and bones: Blockbench animation.

Without Blockbench: Fabric notes that models “are generally created in third-party tools like Blockbench, rather than being written by hand”, then writes one in code. Without code: make a Minecraft mod with AI.

With commands only

Java: /summon takes entity data and /attribute changes stats (max_health 1 to 1024, scale 0.0625 to 16). Mannequins (since 1.21.9) look like players and spawn only by command. Display entities “do not move, do not take damage, do not make sounds, and have no collision”; Animated Java exports “a Data Pack with the functions that summon and animate it” (model makers).

Bedrock: /summon takes a spawn event and a name tag, and /event entity fires a behavior pack event. A new mob still needs both packs.

Commands from minecraft.wiki and Microsoft Learn
# Java: a baby zombie with Speed II, then a max health of 60
/summon zombie ~ ~ ~ {IsBaby:true,active_effects:[{id:"minecraft:speed",amplifier:1b,duration:-1,show_particles:true}]}
/attribute @n[type=zombie] minecraft:max_health base set 60

# Bedrock: a vanilla spawn event, then your own mob
/summon pillager ~ ~ ~ ~ ~ minecraft:spawn_as_patrol_captain
/summon sample:crawler

Test it and fix the usual failures

Bedrock: turn on the Content Log in the Creator settings, test with cheats on, /reload after edits. Java: start the game with your mod and /summon the mob.

  • Falls through the world: no minecraft:physics.
  • Stands still: no movement components or AI goals, or a speed of 0.
  • Pink and black checkerboard: check the texture path, identifiers, PNG and render controller.
  • Never spawns naturally: Bedrock needs spawn rules; Java needs a category other than MISC and a biome spawn.
  • Mob missing on Bedrock: identifiers must match in both packs and are case-sensitive, and “Incorrect format versions are a frequent source of errors.”
  • Java crash, “entityrenderer” is null: “you forgot to register your entity renderer”. A /summon error means unregistered attributes.
  • Blockbench Java code fails: export with the mappings your project uses.

Myrlin Studio makes the creature and its packs

Myrlin Studio, ours, builds a blocky, painted creature from words or a picture in about 15 to 17 minutes on average. It exports a one-click Bedrock .mcaddon with resource and behavior packs (Character / Mob mode), a one-click Java mod jar (creatures also need GeckoLib), GeckoLib mod resources or a ModelEngine creature blueprint, with optional saved animations.

Questions

How do I make a custom mob in Minecraft Bedrock?
Write a behavior pack entity file (physics, health, movement, AI goals, loot), a resource pack client entity and a spawn rules file with one identifier, or let the Minecraft Entity Wizard for Blockbench write them.
Can I make a custom mob in Minecraft Java without mods?
Not a new kind of mob: resource packs cannot remodel mobs and data packs have no folder for new ones. You can repaint mobs, add variants of a few, summon vanilla mobs with custom data or use display entities.
How do I make a custom mob without Blockbench?
On Bedrock, point the client entity at a vanilla model, texture and animations and write only the behavior. On Java, write the model in code, as Fabric’s first entity tutorial does.
How do I make custom mobs in Bedrock with commands?
Commands only summon and change mobs that exist: /summon takes a spawn event and a name tag, /event entity fires a behavior pack event. A new mob needs both packs.
Why does my custom mob not spawn?
On Bedrock, check the spawn rules file and the Content Log. On Java, give it a category other than MISC and a biome spawn; an error on /summon means its attributes are not registered.

Sources

  1. Microsoft Learn: Creating New Entity Types (opens in a new tab): The two packs, identifiers, is_spawnable, spawn egg colors and names, components, format versions and spawn rules.
  2. Microsoft Learn: Entity Behavior Introduction (opens in a new tab): The entity file, essential components and goal priorities.
  3. Microsoft Learn: Entity Behavior (AI) Components (opens in a new tab): Behavior priority and the attacking components.
  4. Microsoft Learn: minecraft:health (opens in a new tab): Health points, the default of 20, half a heart per point.
  5. Microsoft Learn: minecraft:behavior.look_at_player (opens in a new tab): Priority and look_distance.
  6. Microsoft Learn: minecraft:loot (opens in a new tab): The table path from the behavior pack root.
  7. Microsoft Learn: Creating a Loot Table (opens in a new tab): An entity loot table in loot_tables/entities/ and its format version.
  8. Microsoft Learn: Minecraft Entity Wizard (opens in a new tab): Installing the plugin, presets, spawn egg options and exports.
  9. Microsoft Learn: Client Entity JSON (opens in a new tab): Vanilla materials, textures, geometry and animations can be referenced.
  10. Microsoft Learn: Troubleshooting and Fixing Add-On Bugs (opens in a new tab): Entity bugs and their fixes, matching identifiers, /reload.
  11. Microsoft Learn: Content Error Log (opens in a new tab): The Content Log settings and Ctrl+H.
  12. Microsoft Learn: summon (opens in a new tab): Bedrock /summon with a spawn event and a name tag.
  13. Microsoft Learn: event (opens in a new tab): /event entity.
  14. Mojang/bedrock-samples (opens in a new tab): Samples and assets for Bedrock add-ons, updated 20 November 2026.
  15. Minecraft Wiki: Model (opens in a new tab): Which Java entities a resource pack can remodel.
  16. Minecraft Wiki: Resource pack (opens in a new tab): Mob textures and the Bedrock sample files with the vanilla packs.
  17. Minecraft Wiki: Data pack (opens in a new tab): The data pack folders, mob variants, loot tables and experimental settings.
  18. Minecraft Wiki: Commands/summon (opens in a new tab): Java and Bedrock syntax and the examples used here.
  19. Minecraft Wiki: Commands/attribute (opens in a new tab): Syntax and the @n example.
  20. Minecraft Wiki: Attribute (opens in a new tab): max_health and scale ranges.
  21. Minecraft Wiki: Mannequin (opens in a new tab): Spawned only by commands, added in 1.21.9.
  22. Minecraft Wiki: Display (opens in a new tab): Block, item and text display entities.
  23. Fabric Documentation: Creating Your First Entity (opens in a new tab): Entity class, attributes, registration, goals, model, renderer, mappings warning. Fabric API is Apache-2.0.
  24. Fabric Documentation: Spawn Eggs (opens in a new tab): SpawnEggItem and its files.
  25. NeoForged Documentation: Entities (opens in a new tab): Entity, EntityType, renderer and MobCategory. NeoForge is LGPL-2.1.
  26. NeoForged Documentation: Attributes (opens in a new tab): Default attributes and EntityAttributeCreationEvent.
  27. NeoForged Documentation: Living Entities, Mobs & Players (opens in a new tab): Spawn eggs, spawn placements and natural spawning.
  28. NeoForged Documentation: Entity Renderers (opens in a new tab): Registering renderers, Blockbench Modded Entity and Export Java Entity, JSON animations.
  29. NeoForged Documentation: Biome Modifiers (opens in a new tab): neoforge:add_spawns.
  30. NeoForged Documentation: Loot Tables (opens in a new tab): The default entity loot table.
  31. GeckoLib Wiki: Entities (opens in a new tab): The four steps of a GeckoLib entity.
  32. GeckoLib Wiki: Placing the files (opens in a new tab): Where models, animations and textures go.
  33. GeckoLib Wiki: Blockbench plugin setup (opens in a new tab): GeckoLib Models & Animations.
  34. GeckoLib Wiki: Common issues (opens in a new tab): The renderer crash and the /summon error.
  35. bernie-g/geckolib (opens in a new tab): MIT, last push 23 November 2026.
  36. Modrinth: GeckoLib (opens in a new tab): Fabric, Forge, NeoForge and Quilt; updated 23 November 2026.
  37. Blockbench plugin registry (opens in a new tab): Minecraft Entity Wizard 1.8.3 (April 2026) and GeckoLib Models & Animations entries.
  38. Animated Java: Exporting (opens in a new tab): The resource pack and data pack it exports; release v1.11.0 of 9 October 2026.
  39. Myrlin Studio for Minecraft (opens in a new tab): Build time, the creature downloads and saved animations, read on 25 November 2026.
  40. Myrlin Studio pricing (opens in a new tab): Free credits, the price of a model and which plans include downloads, 25 November 2026.

Facts checked on .