How to create a new mob
On this page, we will go through each step of making a new mob in MCreator.
Things you will need
- You will need a mob texture for this tutorial. If you need help making one, go to Making a new Texture.
Creating a mob
- Click on "New Mod"
- Click on "Mob" and name your mod. Names mustn't repeat. Make it something you understand, the end-user won't see this name. One way you can prevent your block name from being repeated is to put the mod type before your mod name, Example: MobMyMod.
Name, appearance, and stats
Some options here may not be available in older versions of MCreator.
- Name of the mob: Supply a name for your mob here. Multiple mobs can have the same name.
- Mob model: Select a model to use here for your mob. You may want to import a custom model instead.
- Texture file: Select a texture to map onto your mob's model. This can be a custom texture for a custom model or a retexture of a vanilla model. Figure out how to get Minecraft's texture files here.
- Mob model bounding box: This represents the size of your mob's hitbox in blocks, as well as the size of its shadow. The first option sets the width and depth, whilst the second option sets the height. The final option sets size in blocks for the radius of the mob's shadow.
- Spawn egg options: Untick the box to remove a mob's spawn egg. This also allows you to set the colors used for the spawn egg; the left is the primary color while the right is the color of it's spots.
- Boss health bar: This option adds the boss health bar used for the Ender Dragon and Wither to your mob. You can also select a color and bar-style for this bar.
- Equipment: Allows a Biped/Zombie modeled mob to have equipment. From left to right the slots represent the right hand, then the left, then the head, chestplate, leggings, and boots.
- Mob label: This allows you to set a name for your mob that will show above their head.
- Behavioral characteristics: A mob set to Mob will be able to attack, while a mob set to Animal cannot attack even if it's AI tells it to. A WaterMob is able to attack, and will not drown in water whilst dying out of it.
- Creature type: Allows you to set a creature's type, causing certain changes. Undead take extra damage from the Smite enchantment, are healed by Harming and harmed by Healing, and are unaffected by Poison or Regeneration. Arthropods take extra damage from the Bane of Arthropods enchantment. Illager does not seem to have any effect.
- Mob health: Sets the health of the mob. 2 health = 1 heart
- Experience amount: Sets the amount of experience earned from killing the mob. This is usually 1-3 for an animal and 5 for a monster.
- Movement speed: Sets the movement speed of the mob in some unknown measurement. Most normal mobs move at around 0.25, while faster ones such as spiders and wolves move at 0.3.
- Attack strength: Sets the amount of damage the mob deals when attacking.
- Armor base value: Sets the amount of built-in armor points the mob has. Zombies by default have 4 armor points.
- Mob immunities: Any attack types you choose here will not affect the mob.
- Rideable: Allows a player to mount this mob. It will not be controllable, however.
- Mob drop, rare drop: Sets drops for the mob. It is recommended to instead use a procedure for mob drops, so you can decide the exact percentage chances, which is explained below.
- Sounds: Select sounds here for the mob to make during certain moments. Leave them blank for a silent mob. You can also import your own sounds, provided that they are .ogg files.
- Particles - Ticking the 'spawn particles around mob' box allows particles to spawn around your mob. Be careful since too many particles at once will cause players' games to stutter. The image on the right shows a preview of the spawning shape.
- Particle type - Set the type of particle for the mob to create.
- Spawning shape - Sets where particles will spawn around the mob.
- Spawning radius - The area, in blocks, around the mob where particles can spawn.
- Amount - The amount of the particle to be spawned each time.
- Spawning condition - This is set to always, and does not serve a purpose yet.
- Mobs can have procedures for being struck by lightning, taking fall damage, dying, being damaged, being right clicked by a player, killing another mob, bumping into a player, spawning, or a procedure that runs each tick. View this tutorial for how the procedure system works.
View this page for a detailed guide on Mob AI.
- Despawn when idle: If ticked, this mob will despawn upon the player moving far away enough. Turn this off for bosses and summonable mobs to stop them despawning.
- Spawn weight: This is the priority that the mob has over others when the game is choosing what mob to spawn. A higher weight means more mob spawns in the game will create this mob. Make this lower for animals, compared to monsters. A detailed explanation on mob spawn weight is available here.
- Mob spawning type: A mob marked as Monster will only spawn in the dark or at night. A mob marked as Creature will spawn under any conditions. A mob marked as Ambient also spawns under any conditions, but this category should be used for mobs with no gameplay effect such as bats. WaterCreature will spawn in water, but with no other limitations.
- Number of mobs in spawn group: The minimum and maximum set here set the size of groups that the mob will spawn in. Be warned that mobs that try to spawn in groups of over 20 will struggle to do so.
- Only in specific biomes: Check this if you want to make mobs spawn in certain biomes. Hell represents the Nether and Sky represents the End.
- Does this mob spawn in dungeons?: If you check this, your mob may show up in dungeon spawners.