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 105
    • Issues 105
    • 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
  • Tint

Last edited by Lxlp Mar 17, 2025
Page history

Tint

< Back to mechanic page

Description

Color the entire model or a specific bone.

Attributes

Attribute Aliases Description Type Default
modelid m, mid, model Targeted model String
partid p, pid, part Targeted rendering bone.
If not set, color the entire model.
String
damagetint d, dmg, damage Is this mechanic used to change the damage tint Boolean false
color c The color in hex Color FFFFFF or FF6666 (damagetint = true)
exactmatch em, exact, match Should the part match the partid completely Boolean true
child Whether the child bones should be affected Boolean false

Examples

With this, we are tinting the leg_left bone blue when the mob spawns.

  Skills:
  - model{m=MiniSoldier} @self ~onSpawn
  - tint{m=MiniSoldier;p=leg_left;c=3986FE} @self ~onSpawn

This example will tint the full model Blue when it spawns, all we have to do is leave the p attribute out.

  Skills:
  - model{m=MiniSoldier} @self ~onSpawn
  - tint{m=MiniSoldier;c=3986FE} @self ~onSpawn

Aliases

  • color
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