Head

Custom entity head rotation

You can specify a bone to be marked as head and rotate automatically when the base entity AI rotates its head.

Limitations

Head bone rotation works only if the mob head is not too far from the center of the body. This might be fixed in the future, but for now there is no solution.

Example: dragons and similar entities can't have their head rotated automatically to look at the target.

Setup

Configure the head bone

Open your .iaentitymodel model file with Blockbench.

Select the base bone of the head.

Rightclick on the bone and select "Bone Config"

Check the "Head" option and press "Confirm". You can also decide max angles for X and Y rotation.

The head bone is now marked as head, as you can see (the smiley face is the head bone).

Configure eyes height (optional)

Create a new bone, you can call it like you prefer, for example eyes_height.

Place the bone between the entity eyes.

Rightclick on the bone and select "Bone Config", then select "Eyes height".

Done

Now you have to export the model as usual.

Creation

Last updated