Consider using the official online tool to edit ItemsAdder files. It makes you life easier as it has autocomplete (press CRTL+SPACE) which helps you on avoiding mistakes.
This is an example for a custom mob named Soul. As you can see I set it up like a normal item, but with a special behaviour named mob.
The mob will have head rotation locked (only on Y axis), this will avoid it from looking stupid while looking at player when is at an higher position.
hit_coloris the color the mob will have when damaged by player. You can get a valid color from these websites: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Color.html https://minecraftcommand.science/armor-color https://misode.github.io/worldgen/biome/ (use one of the color pickers and copy the value from the right)
Note: I skipped the
resourcebecause it's not needed for mobs, ItemsAdder will automatically handle it.
You probably noticed that there are two other attributes:
walkanimations. The mob_animation behaviour tells ItemsAdder that the item is a mob animation. These are infact other items you have to create like this:
Last modified 2yr ago