Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine 4 Model Engine 4
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 110
    • Issues 110
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model Engine 4Model Engine 4
  • Wiki
    • Skills
    • Mechanics
  • LockModelHead

Last edited by Lxlp Oct 21, 2024
Page history

LockModelHead

< 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
Clone repository
Home
FAQ / Common Issues
Commands & Permissions
Configuration

Modeling
  • Creating a Model
    • Hitbox & Eye Height
    • Shadow
  • Bone Behaviors
    • Player Limbs
  • Animating a Model
  • Importing a Model
  • Scriptable Keyframes
  • Optional Tools
MythicMobs
  • Mechanics
  • Conditions
  • Targeters
Citizens (R4.0.4)
  • Trait
  • Commands & Permissions

API
  • Basic
    • Apply / Remove Model
    • Play / Stop Animation
    • Configure Bone Behaviors
    • Mounting / Dismounting Model
    • Per-Player Model
    • Events
  • Advanced
    • Custom Base Entity
    • Custom Mount Controller
    • Custom Importer
    • Custom Bone Behaviors
    • Custom Script Reader
    • Custom Timeline
    • Custom Animation Handler
    • Custom Render Type

Technical
  • Terminology
  • Animation Systems
  • Mount Controllers
Promotional Material