Lock Model Head

< Back to mechanic page

Description

Locks the head of the model into place. Can lock either pitch, yaw, or both.

Attributes

Attribute Aliases Description Type Default
modelid model, mid, m The model id of the model String
lockpitch lpitch, lp Whether the pitch of the head should be locked Boolean Previous Value
lockyaw lyaw, ly Whether the yaw of the head should be locked Boolean Previous Value

Examples

Restricting head rotation to only pitch:

Using this mechanic, the Modeled Entity will no longer be able to move its head sideways, but will be able to do so up and down

Skills:
  - lockmodelhead{mid=examplemodel;lockyaw=true;lockpitch=false} @self ~onSpawn

Aliases

  • lockhead
Updated Aug 19, 2026