Pets
A pet walks or floats next to the player and follows them around. It isn’t attached to the body.
| Attach point | root: the pet’s own spot on the ground next to the player |
| Size box | 0.9 × 0.9 × 0.9 blocks (14.4 px each way) |
| Triangles | 4,000 |
| Texture | up to 512 px |
| Schema | 2 |
Pets are only drawn: they have no collision and no hitbox, nothing about them goes to the server, and the game hides them when they come within 0.6 blocks of the camera.
Where it walks
The pet keeps to a spot on the player’s left, right or behind them, at a set distance. While the player stands still it wanders a little around that spot. If the player gets more than 8 blocks away (a teleport, fast flight), the pet reappears next to them.
| Setting | Range | Default |
|---|---|---|
| Side | left, right or behind | left |
| Distance | 0.75 to 2.5 blocks from the player’s feet | 1.25 |
| Hover | 0 to 1.5 blocks above the ground (0 walks) | 0 |
| Wander | 0 to 1 | 0.4 |
Model it
- Build the pet standing on the origin: its feet at y = 0, centred on x = 0 and z = 0, facing +Z.
- It turns to face the way it moves, so the front matters.
- Stay inside 14.4 px each way. A fox is about 6 × 11 × 14 px.
- For a floating pet, either model it standing and set Hover, or lift the model with a Y offset.
Animate it
The pet’s state comes from its own movement, not the player’s:
| State | When |
|---|---|
idle |
It has reached its spot |
walk |
It moves to catch up |
sprint |
It moves fast to catch up (falls back to walk) |
fall |
The ground drops away under it |
swim |
It’s in water |
idle and walk are the ones that matter most. Give walk a leg cycle that matches a normal walking pace; the speed setting lets you tune it in the builder.
In the Package Builder
- Add the model.
- Type Pet. It goes on the ground, so Attaches to is fixed.
- Under Following, pick the side and the distance. The preview shows the pet there.
- Map
idleandwalk, check them with the state buttons, name it and build.