1

Hurting a mob without killing it

TSchweibz's Avatar TSchweibz3/18/15 4:07 pm
1 emeralds 271 7
3/18/2015 5:33 pm
Akeustlom's Avatar Akeustlom
is there a way to inflict damage to a mob without killing it in a command?
Posted by TSchweibz's Avatar
TSchweibz
Level 2 : Apprentice Miner
0

Create an account or sign in to comment.

7

1
03/18/2015 5:33 pm
Level 19 : Journeyman Scribe
Akeustlom
Akeustlom's Avatar
/effect @e[type=Cow] minecraft:poison 1 1

Your Welcome.
1
03/18/2015 5:21 pm
Level 2 : Apprentice Miner
TSchweibz
TSchweibz's Avatar
/effect yes thank you
1
03/18/2015 5:07 pm
Level 29 : Expert Engineer
ThePigott3
ThePigott3's Avatar
you can change their max health using

/entitydata {AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:15.0,Operation:0}]}

just change 15.0 to anything you want between 0.0 and 1.7x10^308
1
03/18/2015 5:00 pm
Level 23 : Expert Modder
SirBlobman
SirBlobman's Avatar
I think something with /effect might work. Not sure if it works on entities though.

Example command: /effect @e[type=Cow] instant_damage 30 1
/effect
@e[type=Cow]: Selects all cows
instant_damage: 1.8 ID for damage potion
30: Amount of time
1: power of potion
1
03/18/2015 4:49 pm
Level 20 : Expert Network
Imadbush
Imadbush's Avatar
This will summon a cow with resistance 5
/summon Cow ~ ~1 ~ {ActiveEffects:[{Id:11,Amplifier:5,Duration:1999980,ShowParticles:0b}]}

which will be unkillable
1
03/18/2015 4:44 pm
Level 37 : Artisan Pixel Painter
TaterTotQueen
TaterTotQueen's Avatar
snowballs, and eggs.
1
03/18/2015 4:40 pm
Level 14 : Journeyman Pig
inPigglet
inPigglet's Avatar
I know that,/summon wolf antd taming it?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome