Making mobs invincible

Making mobs invincible - Woman in Blue and Black Plaid Jacket Holding Black Bottle

Is there a way to make mobs invincible? I have already spent a while looking for it on google, but all I get is people telling me to give it a resistance potion effect. I am sure there is some attribute that I can give a summoned mob to make it invincible, but I don't know how to do it. How can I do this?



Best Answer

The answer is way simpler now you can now make mobs FULLY invincible. Here's how:

/summon Cow ~0 ~0 ~0 {Invulnerable:1}

Easy! If you want to spawn any other mob, just change the "Cow" to the name of whatever mob you like. If you were to spawn a zombie, the zombie will still burn in daylight but will not take any damage from it.

IMPORTANT NOTE: When typing out the command, the mob's name must be EXACT. For example if I wanted to spawn a zombie, I cant type:

/summon zombie ~0 ~0 ~0 {Invulnerable:1}

You will just receive the message: "Unable to summon object". Instead, you have to type the name of the mob with ALL NECESSARY CAPS:

/summon Zombie ~0 ~0 ~0 {Invulnerable:1}

OR

/summon Skeleton ~0 ~0 ~0 {Invulnerable:1}

mobs with two names will have their own name, e.g: zombie pigman :PigZombie, snow golem :SnowMan iron golem : VillagerGolem cave spider : CaveSpider magma cube : LavaSlime ender dragon : EnderDragon.




Pictures about "Making mobs invincible"

Making mobs invincible - Hand with Tattoos Making Graffiti
Making mobs invincible - Free stock photo of active, adventure, climb
Making mobs invincible - Free stock photo of adolescence, adult, art



How do you make mobs invincible?

If you need to do something extremely dangerous but don't want to die then just do /invincible command for let's say 100 minutes so you type in the command and boom your invincible for 100 minutes .

How do I give an entity without an AI?

1) Silverfish Although silverfish can be quite annoying to deal with in Minecraft, they are actually one of the weakest hostile mobs of all. Silverfish have only 4 hearts and can inflict just . 5 - 1 heart of damage with every hit. This is significantly less than any other hostile mob attack.



Minecraft 1.16.5: How to make a mob invincible




More answers regarding making mobs invincible

Answer 2

Thanks to @DBS for answering my question. For those who are wondering, this is what I was trying to accomplish with this newly gained knowledge. A flying boat. Here is the full command for those who want it:

/summon Boat ~ ~ ~ {riding:{Id:Bat{CustomName:Plane,CustomNameVisible:1,ActiveEffects:[{Id:11,Amplifier:5,Duration:372000},{Id:14,Amplifier:5,Duration:372000},{Id:1,Amplifier:1,Duration:372000},{Id:2,Amplifier:255,Duration:2}]}}}

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Felicity Tai, Felicity Tai, Felicity Tai, Felicity Tai