Find the right file first
A generated item definition lives in the behavior pack’s items/ directory. A generated entity adds a behavior definition and commonly has a client-side entry in the resource pack. A PNG or a model by itself will not register an item or creature. Start by confirming the file you opened belongs to the type of pack you expected. Both packs have their own manifest; in a paired export, the dependency points from the behavior pack to the resource pack header.
| Setting or key | What it controls | Quick check |
|---|---|---|
description.identifier | Namespaced ID in the definition | Use the exact identifier, not the display name, in an item or entity command. |
minecraft:max_stack_size | How many copies can share an inventory slot | Give one more than the intended stack size to a clean slot. |
minecraft:durability | Maximum durability and supported damage settings | Check the exported component rather than assuming the visual model controls wear. |
minecraft:icon | Key for an item texture | Trace that key in textures/item_texture.json and then find the PNG. |
minecraft:health | Entity health configuration | Check both the starting and upper values when present. |
minecraft:collision_box | Entity collision dimensions | Compare width and height values with a test doorway; the visual model is separate. |
minecraft:loot | Reference to a loot table | Confirm the path exists and inspect the table for the intended item and count. |
Example: separate an icon from an item definition
The inspect panel on the main workbench can show an item outline before export. In the default example the item ID is forgecraft:emerald_katana, while its icon key uses underscores: forgecraft_emerald_katana. They do not have to be identical. The atlas maps the icon key to textures/items/emerald_katana, and the PNG is present at that path with the file extension. A spellcheck of the ID will not catch a mismatched atlas key. Follow each reference separately. The archive walkthrough lists the actual files.
Example: keep visual size and collision separate
In the mob maker, export a small creature and record its health and collision settings. Change only the collision width on a second copy. Do not modify its skin or geometry when tracking the effect of that setting. Check the behavior definition for a changed width and the resource pack for unchanged artwork. A mob with a small visual body can still collide as a larger object if its configured collision box is bigger. Conversely, a resource model change does not automatically change gameplay collision.
Debug in the order a dependency is used
- Open the manifest and record the format, minimum engine and pack versions.
- Check that the definition uses a namespace you control and a distinct identifier.
- Follow its atlas, model or loot reference to a concrete file; compare spelling and capitalization.
- Open the game in a disposable world and verify the intended behavior independently of appearance.
Do not copy a current documentation example into an older pack unchanged. Accepted component fields vary with the format version. Cross-check the Microsoft item component index and entity behavior introduction when hand-editing a generated archive.