Update Model Mechanics authored by Ticxo's avatar Ticxo
## Entity
Entity type mechanics controls and configures options used by the base entity.
| Mechanic | Description |
|----------------|-------------------------------------------------------------------|
| [Model][] | Add or remove model from this entity |
| [CullConfig][] | Configures the culling option |
| [LockModel][] | Lock or unlock entity rotation |
| [PairModel][] | Force entity to be seen or hidden from the targeted players |
| [Petrify][] | Spawn real entities that represents the model and kill the entity |
## Model
Model type mechanics control specific models used by an entity.
| Mechanic | Description |
|-------------------|-----------------------------------------------------------|
| [State][] | Add or remove a state from a model |
| [BodyRotation][] | Configure the body rotation of a model |
| [DefaultState][] | Configure the default state of a model |
| [LockModelHead][] | Lock the pitch or yaw of a model |
| [RemapModel][] | Remap a model using bones from another model |
| [StateToggle][] | Toggle a state between playing and not playing on a model |
| [SubModel][] | Forcefully create new bones on a model |
| [SwapEntity][] | Swap the owner of a model |
## Bone
Bone type mechanics edit bone properties of a specific model
| Mechanic | Description |
|---------------------|-------------------------------------------------------------------------|
| [ChangeParent][] | Change the parent bone of a bone |
| [ChangePart][] | Change the model of a bone to another bone from a different model |
| [CycleParts][] | Cycle the model of a bone to multiple different bones at an interval |
| [Enchant][] | Enchant a bone |
| [Tint][] | Color a bone |
| [PartVisibility][] | Toggle the bone model visibility without removing the bone |
| [ModelPlayerSkin][] | Apply the skin of the targeted player to the selected player limb bones |
## Mounting
Mounting type mechanics handles everything about mounting and dismounting entities on a model
| Mechanic | Description |
|----------------------|----------------------------------------------------|
| [MountModel][] | Mount an entity to a selection of mount bones |
| [DismountModel][] | Dismount an entity from a selection of mount bones |
| [DismountAllModel][] | Dismount all entities on the selected mount bones |
## Hitbox
Hitbox type mechanics allows finer control on how sub-hitbox should react to attacks and interacts
| Mechanic | Description |
|------------------|--------------------------------------------------------|
| [BindHitbox][] | Summon and bind a MythicMobs mob to a sub-hitbox |
| [HitboxConfig][] | Configure the damage pass-through rate of a sub-hitbox |
## Misc
| Mechanic | Description |
|---------------------------|-----------------------------------------------|
| [ModelDisguise][] | Disguise the targeted player with a model |
| [ModelUndisguise][] | Undisguise a model from the targeted player |
| [LinkItemBone][] | Link an entity equipment slot to an item bone |
| [SetItemModel][] | Set the item on an item bone |
| [Leash][] | Connect the target to a leash bone |
| [LeashSelf][] | Connect a leash bone to another leash bone |
| [SetModelTag][] | Set the text on a name tag bone |
| [SetModelTagVisibility][] | Configure the visibility of a name tag bone |
[Model]: MythicMobs/mechanics/model/Model
[CullConfig]: MythicMobs/mechanics/model/CullConfig
[LockModel]: MythicMobs/mechanics/model/LockModel
[PairModel]: MythicMobs/mechanics/model/PairModel
[Petrify]: MythicMobs/mechanics/model/Petrify
[State]: MythicMobs/mechanics/model/State
[BodyRotation]: MythicMobs/mechanics/model/BodyRotation
[DefaultState]: MythicMobs/mechanics/model/DefaultState
[LockModelHead]: MythicMobs/mechanics/model/LockModelHead
[RemapModel]: MythicMobs/mechanics/model/RemapModel
[StateToggle]: MythicMobs/mechanics/model/StateToggle
[SubModel]: MythicMobs/mechanics/model/SubModel
[SwapEntity]: MythicMobs/mechanics/model/SwapEntity
[ChangeParent]: MythicMobs/mechanics/model/ChangeParent
[ChangePart]: MythicMobs/mechanics/model/ChangePart
[CycleParts]: MythicMobs/mechanics/model/CycleParts
[Enchant]: MythicMobs/mechanics/model/Enchant
[Tint]: MythicMobs/mechanics/model/Tint
[PartVisibility]: MythicMobs/mechanics/model/PartVisibility
[ModelPlayerSkin]: MythicMobs/mechanics/model/ModelPlayerSkin
[MountModel]: MythicMobs/mechanics/model/MountModel
[DismountModel]: MythicMobs/mechanics/model/DismountModel
[DismountAllModel]: MythicMobs/mechanics/model/DismountAllModel
[BindHitbox]: MythicMobs/mechanics/model/BindHitbox
[HitboxConfig]: MythicMobs/mechanics/model/HitboxConfig
[ModelDisguise]: MythicMobs/mechanics/model/ModelDisguise
[ModelUndisguise]: MythicMobs/mechanics/model/ModelUndisguise
[LinkItemBone]: MythicMobs/mechanics/model/LinkItemBone
[SetItemModel]: MythicMobs/mechanics/model/SetItemModel
[Leash]: MythicMobs/mechanics/model/Leash
[LeashSelf]: MythicMobs/mechanics/model/LeashSelf
[SetModelTag]: MythicMobs/mechanics/model/SetModelTag
[SetModelTagVisibility]: MythicMobs/mechanics/model/SetModelTagVisibility
\ No newline at end of file