Mythicmobs
Custom 3D models for Mythicmobs mobs
Reskinning a Mythicmob mob
You can use a custom model as skin for any Mythicmob mob.
This plugin doesn't require Mythicmobs to work, but some servers might need to use it to create custom bosses and similar.
This requires ItemsAdder 3.2.1-beta1 or greater
Changing the model
Create a new Mythicmobs mob configuration file in this path: plugins/MythicMobs/Mobs/ninja_skeleton.yml
(you can decide the filename).
Do not use PLAYER
as type, it causes issues with head/body rotation.
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 animationcustomentity{walk=ANIMATION}
To change the walk animationcustomentity{attack=ANIMATION}
To change the attack animationcustomentity{death=ANIMATION}
To change the death animationcustomentity{play=ANIMATION}
To play an animation right nowcustomentity{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.
Warning: if you want to manually handle mounts like this you have to set this property in the ItemAdder configuration of your custom entity:
mount_on_interact: false
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.
Final result
Last updated