Minecraft guide

How to add a custom model to Minecraft: Java, Bedrock, servers and mods

Checked on 25 November 2026 against minecraft.wiki, Microsoft Learn and Blockbench’s own documentation.

7 min readPublished .Updated .

Three blocky models on a dark ground: a brass lantern staff with a glowing blue crystal, a grey stone forge with dark wood corners and heart-shaped vents lit orange, and a mummy in sandy bandages with a gold collar.
Lantern-staff with swappable crystal head, Runic forge and Wrapped mummy: Myrlin Studio’s free Minecraft Java models, an item, a block and a creature.

The short answer

Export in the Blockbench format the game reads: Java Block/Item for a Java resource pack, Bedrock Entity or Bedrock Block for an add-on. A Java pack holds pack.mcmeta, the model, its texture and, since 1.21.4, an items definition named by the item_model component. Bedrock needs a resource pack, plus a behavior pack for an entity. Java creatures need a mod.

Pick the format the game reads

Blockbench has a project format for each target, and the game reads only the one made for it; Generic Model is for game engines and renders, not Minecraft. Its Quickstart (opens in a new tab) suggests the format for what you are making.

Which Blockbench format goes where
Which Blockbench format goes where
You wantBlockbench formatWhat loads it
A Java block or itemJava Block/Item (.json)A resource pack, no mods
A Java creature or armorModded Entity (.java) or GeckoLib ModelA mod
A Bedrock creatureBedrock Entity (.geo.json)A resource pack and a behavior pack
A Bedrock itemBedrock Entity, as an attachableAn add-on; the model shows only in hand
A Bedrock blockBedrock Block (.geo.json)A custom block in an add-on

Making the model: make a Minecraft model with AI; painting it: Blockbench textures.

Java Edition: a resource pack

A Java resource pack is a folder or ZIP in .minecraft/resourcepacks, and its only required file is pack.mcmeta. Since 1.21.4 the game draws no line between block and item models, and a model is used only when a file in items or blockstates points to it.

A pack with one custom item
my_pack/
  pack.mcmeta
  assets/
    example/
      items/lantern_staff.json         the items definition
      models/item/lantern_staff.json   the model Blockbench exported
      textures/item/lantern_staff.png  its texture
  1. Step 1

    Export the model

    In a Java Block/Item project, save the JSON into assets/example/models/item/.

    File, then Export, then Export Block/Item Model

  2. Step 2

    Place the texture

    Save the PNG in assets/example/textures/item/; the texture path in the model JSON must point to it.

  3. Step 3

    Add the items definition

    This file in assets/example/items/ tells the game which model to draw.

    {"model": {"type": "minecraft:model", "model": "example:item/lantern_staff"}}
  4. Step 4

    Give yourself the item

    The item_model component names the definition, so any item can wear the model.

    /give @s stick[item_model="example:lantern_staff"]
  5. Step 5

    Turn the pack on

    Put the folder or ZIP in resourcepacks and move it to Selected; packs higher in the list win.

    Options, then Resource Packs

A resource pack only changes looks. To restyle a vanilla block, replace its model under the minecraft namespace; a new block is registered by a mod.

custom_model_data before and after 1.21.4

Older tutorials use a custom_model_data number with overrides in the vanilla item’s model; 1.21.4 removed overrides, so those packs stop working.

How an item picks its model, by Java version
How an item picks its model, by Java version
Java versionHow it works
1.14 to 1.21.3A custom_model_data number, matched by overrides predicates in the vanilla item’s model file
1.21.2 and 1.21.3Also the item_model component, which names a model at models/item/<id>
1.21.4 and lateritem_model names an items definition in assets/<namespace>/items/; custom_model_data holds floats, flags, strings and colors lists that the definition reads

To switch a vanilla item’s model on a value, give it an items definition with a select on custom_model_data and the vanilla model as fallback (range_dispatch reads the floats, condition the flags):

assets/minecraft/items/stick.json
{
  "model": {
    "type": "minecraft:select",
    "property": "minecraft:custom_model_data",
    "fallback": { "type": "minecraft:model", "model": "minecraft:item/stick" },
    "cases": [
      { "when": "lantern_staff",
        "model": { "type": "minecraft:model", "model": "example:item/lantern_staff" } }
    ]
  }
}
Give the switched stick
/give @s stick[custom_model_data={strings:["lantern_staff"]}]

Bedrock Edition: two packs for an entity

Microsoft’s entity guide (opens in a new tab) splits a mob in two: the behavior pack defines it, the resource pack’s client entity file says how it looks. “Both are required to add a new entity type to the game.” Each pack has a manifest.json with two UUIDs.

One Bedrock entity across two packs
my_RP/
  manifest.json
  entity/robot.entity.json        client entity: geometry, texture, render controller
  models/entity/robot.geo.json    the geometry from Blockbench
  textures/entity/robot.png
my_BP/
  manifest.json
  entities/robot.json             behavior: identifier and components
  1. Step 1

    Export the geometry

    The client entity calls the model identifier from the project settings geometry.<name>. Save the file in models/entity/, the texture in textures/entity/.

    File, then Export, then Export Bedrock Geometry

  2. Step 2

    Write the client entity

    robot.entity.json links the identifier to the texture, the geometry and a render controller; most mobs can use controller.render.default.

  3. Step 3

    Write the behavior file

    entities/robot.json in the behavior pack uses the same identifier, such as sample:robot.

  4. Step 4

    Test it

    Turn both packs on in a world with cheats enabled, then summon it.

    /summon sample:robot

A custom block names its geometry in the minecraft:geometry component; from 1.21.80 such a block must also set minecraft:material_instances. Blockbench’s Bedrock Block format has no animations.

On a server

  • Java: point resource-pack in server.properties at a link to the ZIP, with resource-pack-sha1 so clients can check it; require-resource-pack=true disconnects players who decline it.
  • Bedrock Dedicated Server: packs in its top-level resource_packs and behavior_packs folders serve every world, a world’s own folders only that world. texturepack-required=true makes clients use them.

Through a mod: Fabric, Forge, NeoForge and GeckoLib

Mod loaders read the same model JSON: an item draws the model its client item names, a block the one in its blockstate file, and the mod registers both in code (Fabric (opens in a new tab), NeoForge (opens in a new tab)). Fabric API is Apache-2.0, Forge and NeoForge LGPL-2.1.

Creatures need more. Blockbench’s Modded Entity format writes Java model code, and GeckoLib (opens in a new tab), an MIT library for Fabric, Forge, NeoForge and Quilt (Modrinth (opens in a new tab), updated 23 November 2026), renders and animates them. Its Blockbench plugin, GeckoLib Models & Animations, adds the project type; the .geo.json goes in assets/<modid>/geckolib/models/, the .animation.json in assets/<modid>/geckolib/animations/, and the entity and its renderer are Java code.

A jar without writing code: make a Minecraft mod with AI.

When the model does not show

Limits worth knowing

  • 3 × 3 × 3

    blocks, the most a Java block or item model spans

    -16 to 32 on each axis

  • 30 px

    each side of the box a Bedrock block model fits in

  • 250 MiB

    the largest Java server resource pack

  • Magenta and black checkerboard: the missing texture; the texture path in the model or Bedrock client entity matches no PNG. A whole checkered cube is the missing model: no valid model or items definition.
  • Pack marked incompatible: its pack.mcmeta format does not suit your version. From 1.21.9 the file uses min_format and max_format instead of pack_format; Pack format (opens in a new tab) lists the numbers.
  • Model cut off or refused: Java elements stay between -16 and 32 on each axis, and Blockbench warns when a format “limits the canvas to 48 units”. Split it, use a Bedrock entity or a mod, or slim it down.
  • Bedrock entity missing: the identifier must match in both packs, and Microsoft warns that “Incorrect format versions are a frequent source of errors.”

Myrlin Studio writes the packs for you

Myrlin Studio, ours, builds a blocky, painted model from words or a picture in about 4 to 7 minutes on average and writes these files for you: a one-click Bedrock .mcaddon, a Java resource pack with a give command, a one-click mod jar (creatures also need GeckoLib), mod resources for your own Fabric, NeoForge or Forge project, server plugin files, or a .bbmodel.

Questions

How do I add a custom model to Minecraft Java?
Put the Blockbench JSON and its texture in a resource pack with pack.mcmeta, add an items definition (1.21.4 and later), and give an item the item_model component that names it.
Does custom_model_data still work?
Yes, in a new form. Since 1.21.4 it holds lists of floats, flags, strings and colors that an items definition reads; the old number with overrides works up to 1.21.3.
Can I add a custom mob to Java without mods?
Not with a resource pack: Java cannot change entity models, apart from item frames. Use a mod with GeckoLib, or a data pack of display entities such as the Animated Java plugin (AGPL-3.0) exports.
Why is my model a purple and black checkerboard?
That magenta and black pattern is Minecraft’s missing texture: the model points to a texture that is not in the pack. A whole checkered cube means the model itself is missing.
How do I add custom models to a server?
On Java, host the pack ZIP and set resource-pack in server.properties. On Bedrock Dedicated Server, put the packs in its resource_packs and behavior_packs folders.

Sources

  1. Minecraft Wiki: Model (opens in a new tab): Block and item models since 1.21.4, the -16 to 32 element range, the removal of overrides and which entities can be remodeled.
  2. Minecraft Wiki: Items model definition (opens in a new tab): The items folder, model, select, condition and range_dispatch types, custom_model_data properties, added in 1.21.4.
  3. Minecraft Wiki: Data component format (opens in a new tab): item_model (added in 1.21.2) and custom_model_data (lists since 1.21.4), with give examples.
  4. Minecraft Wiki: Resource pack (opens in a new tab): Where packs go, load order, the folder layout and server packs.
  5. Minecraft Wiki: Pack format (opens in a new tab): pack_format, min_format and max_format, and the incompatible warning.
  6. Minecraft Wiki: pack.mcmeta (opens in a new tab): The fields of pack.mcmeta.
  7. Minecraft Wiki: server.properties (opens in a new tab): resource-pack, resource-pack-sha1, require-resource-pack and the 250 MiB limit.
  8. Minecraft Wiki: Missing textures and models (opens in a new tab): The checkerboard and the missing model.
  9. Microsoft Learn: Creating New Entity Types (opens in a new tab): The two packs, file names, client entity, render controller and format versions.
  10. Microsoft Learn: Introduction to Resource Packs (opens in a new tab): The manifest and its UUIDs.
  11. Microsoft Learn: minecraft:geometry (opens in a new tab): Block geometry and the 1.21.80 rule.
  12. Microsoft Learn: Getting Started with Bedrock Dedicated Server (opens in a new tab): Shared and per-world pack folders.
  13. Microsoft Learn: Bedrock Dedicated Server properties (opens in a new tab): texturepack-required.
  14. Blockbench Wiki: Formats (opens in a new tab): What each format makes, exports and supports.
  15. Blockbench Quickstart (opens in a new tab): Format advice, attachables, the Bedrock block size and Java entity limits (page source in the blockbench.net repository).
  16. Blockbench source code (opens in a new tab): GPL-3.0. The export menu and the 48 unit canvas message, read on 25 November 2026.
  17. Fabric Documentation: Creating Your First Item (opens in a new tab): Model, texture and client item files. Fabric API is Apache-2.0.
  18. NeoForged Documentation: Models (opens in a new tab): Client items and blockstate files. NeoForge is LGPL-2.1; Forge is LGPL 2.1 per its license file.
  19. bernie-g/geckolib (opens in a new tab): MIT. What GeckoLib does and its loaders.
  20. Modrinth: GeckoLib (opens in a new tab): MIT; Fabric, Forge, NeoForge and Quilt; updated 23 November 2026.
  21. GeckoLib Wiki (opens in a new tab): The Blockbench plugin, the new project type and where the files go.
  22. Animated Java (opens in a new tab): AGPL-3.0; exports a resource pack and a data pack, display entities; release of 9 October 2026.
  23. Myrlin Studio for Minecraft (opens in a new tab): Build time, every Minecraft download and its limits, read on 25 November 2026.
  24. 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 .