mojira.dev
MC-78473

Mobs don't panic when hit with a summoned or dispensed potion of harming

The Bug:

Mobs don't panic when hit with a summoned or dispensed potion of harming.

Steps to Reproduce:

  1. Build the setup shown in the attachment below.

[media]
  1. Obtain a potion of harming and place it inside the dispenser.

  2. Summon a cow on the diamond block.

  3. Activate the dispenser and observe the cow's behavior.

  4. Take note as to whether or not mobs panic when hit with a summoned or dispensed potion of harming.

Observed Behavior:

Mobs don't panic.

Expected Behavior:

Mobs would panic.

Linked issues

Attachments

Comments 14

Tan Chin Cheern

Can confirm.

Can confirm as well; they don't seem to take knockback either.

Confirmed for 1.8.6.

Is this still an issue in the most recent versions (i.e. 1.10.2, or 16w42a) of Minecraft?

This appears to still be an active issue in 1.11.2. The command has changed due to Minecraft's updated entity handling, but the overall problem remains.
.
.
Updated command:
/summon potion ~ ~5 ~ {Potion:{id:"minecraft:splash_potion",Count:1,tag:{Potion:"minecraft:harming"}}}
.
.
I've also tried adding in various combinations of the "ownerName" and "UUID" tags to see if that solved the problem, to no avail:
.
/summon potion ~ ~5 ~ {ownerName:USER,Potion:{id:"minecraft:splash_potion",Count:1,tag:{Potion:"minecraft:harming"}}}
.
/summon potion ~ ~5 ~ {UUIDLeast:0L,UUIDMost:1L,Potion:{id:"minecraft:splash_potion",Count:1,tag:{Potion:"minecraft:harming"}}}
.
/summon potion ~ ~5 ~ {UUIDLeast:0L,UUIDMost:1L,ownerName:USER,Potion:{id:"minecraft:splash_potion",Count:1,tag:{Potion:"minecraft:harming"}}}
.
(Sorry about the strange spacing, I can't seem to get the formatting to look decent)

4 more comments

Can confirm in 20w51a.

[Mod] markderickson

Can confirm in 21w06a.

This ticket relates to MC-44280.

Bastián Ignacio Torres Soto

Confirmed in 1.18 Release Candidate 2.

Mike M

Avoma

(Unassigned)

Confirmed

Mob behaviour

Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.5, Minecraft 1.8.6, Minecraft 1.10.2, ..., 1.20.4, 23w51b, 24w11a, 1.20.6, 24w19b

24w21a

Retrieved