1
is there a way to inflict damage to a mob without killing it in a command?
Create an account or sign in to comment.
7
1
/effect @e[type=Cow] minecraft:poison 1 1
Your Welcome.
Your Welcome.
1
/effect yes thank you
1
you can change their max health using
just change 15.0 to anything you want between 0.0 and 1.7x10^308
/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
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
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
This will summon a cow with resistance 5
/summon Cow ~ ~1 ~ {ActiveEffects:[{Id:11,Amplifier:5,Duration:1999980,ShowParticles:0b}]}
which will be unkillable
/summon Cow ~ ~1 ~ {ActiveEffects:[{Id:11,Amplifier:5,Duration:1999980,ShowParticles:0b}]}
which will be unkillable
1
snowballs, and eggs.
1
I know that,/summon wolf antd taming it?