MythicMobs

Custom 3D models for Mythicmobs mobs

Reskinning a Mythicmob mob

You can use a custom model as skin for any Mythicmob mob.

Changing the model

Create a new Mythicmobs mob configuration file in this path: plugins/MythicMobs/Mobs/ninja_skeleton.yml (you can decide the filename).

ninja_skeleton.yml
ninja_skeleton:
  Type: ZOMBIE
  Display: '&aNinja Skeleton'
  Health: 10
  Damage: 2
  Options:
    MovementSpeed: 0
    Silent: true
  Skills:
  - customentity{model=custom:ninja_skeleton} @self ~onSpawn
  - customentity{play=attack} @self ~onAttack
  - customentity{walk=b_walk} @self ~onAttack

In this example I'm changing the Mythicmobs mob skin to a ninja_skeleton skin.

Animations

As you can see I also added some Skills to replace the mob animation dynamically. {play=attack} is used to make the attack animation play, in this case when the entity attacks.

{walk=b_walk} is used to replace the mob walk animation b_walk which is an "angry" walk animation, because the mob has just attacked another entity and has a target.

Animation

  • customentity{idle=ANIMATION} To change the idle animation

  • customentity{walk=ANIMATION} To change the walk animation

  • customentity{attack=ANIMATION} To change the attack animation

  • customentity{death=ANIMATION} To change the death animation

  • customentity{play=ANIMATION} To play an animation right now

  • customentity{stop=ANIMATION} To stop the current animation

Bones

Visibility

Hide/show a bone programmatically

Example: hiding a leg bone on a particular event

Color

Change a bone color programmatically

Default color (white): 16777215 Color picker

Example: changing color of a bone when the custom entity is damaged

Enchant glint

Show the enchant effect on a bone programmatically

Example: show the enchant effect on a bone when the custom entity is damaged

Apply the previous properties to every bone

Example: hide every bone when the custom entity is damaged

Mounting a bone

Example: mounting a custom entity on right click, disable SHIFT to dismount (not working on < 1.16 clients) and disable entity control with WASD.

Dismounting

Removing passengers from some mount bones

Removing passengers from a single mount bone

Removing passengers from all the mount bones

Examples:

Bone Targeter

Bone targeter returns the location of the specified bone.

Example: play a particle each 3 ticks on the bone center.

Last updated

Was this helpful?