Attachment points
Every cosmetic hangs from an attach point on the player. The model’s origin goes on that point, so where you put the origin in your model decides where the cosmetic sits.
Coordinates
- 1 unit is 1 block, and 1 block is 16 pixels (16 Blockbench units).
- Y is up. The player faces +Z, so their left is +X and behind them is −Z.
- The points below are given in the standing pose, with the feet at the origin. In the game each point moves with its part of the body.
| # | Point | Where (blocks) | Moves with | Used by | Schema |
|---|---|---|---|---|---|
| 1 | head |
0, 1.5, 0: bottom centre of the head, at the neck | the head (looking around) | hats, face items | 1 |
| 2 | body |
0, 1.5, −0.125: top centre of the back, on its surface | the body (sneaking leans it) | capes, back items | 1 |
| 3 | left_shoulder, right_shoulder |
±0.375, 1.5, 0: top of the shoulder | the body | shoulder pets | 1 |
| 3 | left_arm, right_arm |
±0.375, 1.5, 0: top of the arm, the same spot as the shoulder point | the arm (it swings around the shoulder joint at ±0.3125, 1.375, 0 when walking and hitting) | shoulder pets | 2 |
| 4 | left_wrist, right_wrist |
±0.375, 0.75, 0: the lower end of the arm | the arm | wrist items | 2 |
| 5 | waist |
0, 0.75, 0: the belt line | the body | waist items | 2 |
| 6 | left_foot, right_foot |
±0.125, 0, 0: under each foot | the leg (it pivots at the hip) | boots, through feet |
2 |
| 6 | feet |
both feet | each leg | boots: part left on the left foot, right on the right |
2 |
| 7 | root |
0, 0, 0: between the feet | the whole player, not the body’s lean | auras; pets start from here | 1 |
The player’s body
Handy sizes when you model around the player (pixels; blocks in brackets):
| Part | Size (W × H × D) | Runs from |
|---|---|---|
| Head | 8 × 8 × 8 (0.5 each way) | the neck up to 32 px (2 blocks) |
| Body | 8 × 12 × 4 (0.5 × 0.75 × 0.25) | the waist up to the neck |
| Each arm | 4 × 12 × 4 (0.25 × 0.75 × 0.25); slim arms are 3 wide | the wrist up to the shoulder |
| Each leg | 4 × 12 × 4 (0.25 × 0.75 × 0.25) | the ground up to the waist |
How a model is placed
- The model’s origin goes on the attach point.
- Offset moves it, in blocks: up to 0.5 each way.
- Rotation turns it, in degrees: up to 180 each way, applied around X, then Y, then Z.
- Scale sizes it: from 0.25 to 1.5. The scaled model still has to fit its size box.
The Package Builder shows these as sliders; in cosmetic.json they are attach.offset, attach.rotation and attach.scale. The store’s preview and the game place a model the same way, so what you see in the preview is what players see.
Size boxes
Each type has a size box (see Textures and limits). It’s measured around the attach point, and no part of the model may reach further from the point than the box’s corners. A hat can’t hang down to the ground, and wings can’t hide the player.
Choosing a point
- On the head or in front of the face:
head - Hanging from the back:
body - Riding on a shoulder:
left_shoulderorright_shoulder; swinging with an arm:left_armorright_arm - Around a wrist:
left_wristorright_wrist - Around the hips or out of the back at hip height:
waist - On both feet:
feet - Around the player or beside them:
root(auras and pets)