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 108
    • Issues 108
    • 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
  • FAQ

Last edited by Lxlp Oct 21, 2024
Page history

FAQ

Model having XXX error / warning

Read the console. The error log walks you through the reason and the solution, and gives you additional insight on the problem itself.

Model taking damage for no reason

The "eye height" is either missing or set below 0. To fix this, bring the hitbox's bone pivot point above 0.
You can learn more about this Here

The model is made up of vanilla items!

Use the generated resource pack, located in the plugin's folder.

The plugin folder is located at <Server Main Directory>/plugins/ModelEngine/resource pack.zip

Model using parts of a different model

Update the resource pack.

I want my Modeled Entity to perform a custom attack animation

While you could play a state with a onAttack trigger, there will be no delay between the start of the attack animation and the damage itself, so a different solution is required.
A popular and effective method is to:

  • Cancel the attack event
  • Play the state
  • Delay the execution of the skilltree
  • Deal Damage

And this is usually done via the use, in some form, of the following base metaskill:

ExampleMob:
  Type: ZOMBIE
  Skills:
  - model{mid=examplemob} @self ~onSpawn
  - skill{s=ExampleModelAttack;sync=true} @self ~onAttack 
ExampleModelAttack:
  Skills:
  - cancelevent
  - state{...}
  - delay 17
  - damage{...} @trigger

How can i make multiline names?

You can't simply use <&nl> or \n in the display name: you will have to make multiple Tag bones and then apply the text you want to them via the SetModelTag mechanic

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