Skip to main content
Became Hot Network Question
Tweeted twitter.com/TheArqade/status/1387149629771460615
deleted 10 characters in body
Source Link
One 2 Many
  • 12.9k
  • 9
  • 52
  • 91

I want to give undead mobs in a certain radius instant health potions, but I don't know how to only target undead mobs.

e.g. "\effect give @e[distance=1..7, type=undead] minecraft:instant_health 7 10"

effect give @e[distance=1..7, type=undead] minecraft:instant_health 7 10

But there is no "undead" mob type. At least in this context.

Any help would be appreciated.

I want to give undead mobs in a certain radius instant health potions, but I don't know how to only target undead mobs.

e.g. "\effect give @e[distance=1..7, type=undead] minecraft:instant_health 7 10"

But there is no "undead" mob type. At least in this context.

Any help would be appreciated.

I want to give undead mobs in a certain radius instant health potions, but I don't know how to only target undead mobs.

effect give @e[distance=1..7, type=undead] minecraft:instant_health 7 10

But there is no "undead" mob type. At least in this context.

Any help would be appreciated.

Source Link

Is there a way to target only undead mobs in a command?

I want to give undead mobs in a certain radius instant health potions, but I don't know how to only target undead mobs.

e.g. "\effect give @e[distance=1..7, type=undead] minecraft:instant_health 7 10"

But there is no "undead" mob type. At least in this context.

Any help would be appreciated.