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.

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.
On this page8 sections
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.
| Part | Bedrock add-on | Java mod |
|---|---|---|
| Health and speed | minecraft:health, minecraft:movement | Attributes such as MAX_HEALTH, MOVEMENT_SPEED |
| AI | minecraft:behavior.* goals | Goals in registerGoals() |
| Looks | Client entity, .geo.json, texture | Renderer, model, texture; GeckoLib for Blockbench animations |
| Natural spawning | A spawn rules file | Spawn placement, biome modifier (NeoForge) |
| Drops | minecraft:loot and a loot table | Loot table <namespace>:entities/<name> |
| Spawn egg | "is_spawnable": true | A 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
- Step 1
Install the plugin
Install Minecraft Entity Wizard (JannisX11 and Mojang Studios, updated April 2026) from the Available tab.
File, then Plugins
- 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.
- Step 3
Set the spawn egg
Two colors, your own PNG (ideally 16 by 16), or none.
- 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:
{
"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:physicsgives gravity and collision, which nearly every custom mob needs; health counts half hearts. - Moving:
movementsets the speed,movement.basicwalks,jump.staticclimbs blocks andnavigation.walkfinds paths. - AI goals: each
minecraft:behavior.*component is a goal, and “0 is the highest priority”. A hostile mob addsbehavior.nearest_attackable_target,behavior.melee_attackandminecraft:attack.
Spawn rules, loot and the spawn egg
- Spawn rules: a file in
spawn_rules/with the same identifier, apopulation_controlpool (animal,water_animalormonster) and conditions such asbrightness_filter,weightandbiome_filter. - Loot: a table in
loot_tables/entities/, named byminecraft:loot. - Spawn egg:
is_spawnableputs it in the creative inventory; the client entity’sspawn_eggsets its colors andtexts/en_US.langits 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:
- Step 1
Write the entity class
Extend
PathfinderMob, the class most pathfinding mobs use. - Step 2
Register the entity type
Give it a size and a
MobCategory; withMISCit is “unable to be spawned naturally at all”. - Step 3
Register its attributes
Living entities must have defaults:
FabricDefaultAttributeRegistryon Fabric,EntityAttributeCreationEventon NeoForge. - Step 4
Add goals
In
registerGoals(); lower numbers run first.this.goalSelector.addGoal(1, new RandomStrollGoal(this, 1)); - Step 5
Model and renderer
Register both. Blockbench’s Modded Entity format exports the model as Java.
File, then Export, then Export Java Entity
- Step 6
Spawn egg and spawning
Register a
SpawnEggItem. On NeoForge, aneoforge:add_spawnsbiome 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.
# 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:crawlerTest 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
MISCand 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
/summonerror 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
- 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.
- Microsoft Learn: Entity Behavior Introduction (opens in a new tab): The entity file, essential components and goal priorities.
- Microsoft Learn: Entity Behavior (AI) Components (opens in a new tab): Behavior priority and the attacking components.
- Microsoft Learn: minecraft:health (opens in a new tab): Health points, the default of 20, half a heart per point.
- Microsoft Learn: minecraft:behavior.look_at_player (opens in a new tab): Priority and look_distance.
- Microsoft Learn: minecraft:loot (opens in a new tab): The table path from the behavior pack root.
- Microsoft Learn: Creating a Loot Table (opens in a new tab): An entity loot table in loot_tables/entities/ and its format version.
- Microsoft Learn: Minecraft Entity Wizard (opens in a new tab): Installing the plugin, presets, spawn egg options and exports.
- Microsoft Learn: Client Entity JSON (opens in a new tab): Vanilla materials, textures, geometry and animations can be referenced.
- Microsoft Learn: Troubleshooting and Fixing Add-On Bugs (opens in a new tab): Entity bugs and their fixes, matching identifiers, /reload.
- Microsoft Learn: Content Error Log (opens in a new tab): The Content Log settings and Ctrl+H.
- Microsoft Learn: summon (opens in a new tab): Bedrock /summon with a spawn event and a name tag.
- Microsoft Learn: event (opens in a new tab): /event entity.
- Mojang/bedrock-samples (opens in a new tab): Samples and assets for Bedrock add-ons, updated 20 November 2026.
- Minecraft Wiki: Model (opens in a new tab): Which Java entities a resource pack can remodel.
- Minecraft Wiki: Resource pack (opens in a new tab): Mob textures and the Bedrock sample files with the vanilla packs.
- Minecraft Wiki: Data pack (opens in a new tab): The data pack folders, mob variants, loot tables and experimental settings.
- Minecraft Wiki: Commands/summon (opens in a new tab): Java and Bedrock syntax and the examples used here.
- Minecraft Wiki: Commands/attribute (opens in a new tab): Syntax and the @n example.
- Minecraft Wiki: Attribute (opens in a new tab): max_health and scale ranges.
- Minecraft Wiki: Mannequin (opens in a new tab): Spawned only by commands, added in 1.21.9.
- Minecraft Wiki: Display (opens in a new tab): Block, item and text display entities.
- 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.
- Fabric Documentation: Spawn Eggs (opens in a new tab): SpawnEggItem and its files.
- NeoForged Documentation: Entities (opens in a new tab): Entity, EntityType, renderer and MobCategory. NeoForge is LGPL-2.1.
- NeoForged Documentation: Attributes (opens in a new tab): Default attributes and EntityAttributeCreationEvent.
- NeoForged Documentation: Living Entities, Mobs & Players (opens in a new tab): Spawn eggs, spawn placements and natural spawning.
- NeoForged Documentation: Entity Renderers (opens in a new tab): Registering renderers, Blockbench Modded Entity and Export Java Entity, JSON animations.
- NeoForged Documentation: Biome Modifiers (opens in a new tab): neoforge:add_spawns.
- NeoForged Documentation: Loot Tables (opens in a new tab): The default entity loot table.
- GeckoLib Wiki: Entities (opens in a new tab): The four steps of a GeckoLib entity.
- GeckoLib Wiki: Placing the files (opens in a new tab): Where models, animations and textures go.
- GeckoLib Wiki: Blockbench plugin setup (opens in a new tab): GeckoLib Models & Animations.
- GeckoLib Wiki: Common issues (opens in a new tab): The renderer crash and the /summon error.
- bernie-g/geckolib (opens in a new tab): MIT, last push 23 November 2026.
- Modrinth: GeckoLib (opens in a new tab): Fabric, Forge, NeoForge and Quilt; updated 23 November 2026.
- Blockbench plugin registry (opens in a new tab): Minecraft Entity Wizard 1.8.3 (April 2026) and GeckoLib Models & Animations entries.
- Animated Java: Exporting (opens in a new tab): The resource pack and data pack it exports; release v1.11.0 of 9 October 2026.
- Myrlin Studio for Minecraft (opens in a new tab): Build time, the creature downloads and saved animations, read on 25 November 2026.
- 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 .
Guides and pages