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

Tan Chin Cheern

Can confirm.

Sonicwave

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

Sonicwave

Confirmed for 1.8.6.

wobst.michael

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

Mike M

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)

Sonicwave

Confirmed for 1.12, the "fleeing" part also affects arrows and other projectiles.

Oval

Confirmed for 1.13.1.

j_p_smith

Confirmed in 1.15.2 and 1.16 Pre-release 5.

Avoma

I'd like to request the ownership of this report as the reporter has been inactive since October 2019.

Avoma

Can confirm in 20w51a.

[Mod] markderickson

Can confirm in 21w06a.

Avoma

This ticket relates to MC-44280.

Bastián Ignacio Torres Soto

Confirmed in 1.18 Release Candidate 2.

[Mod]Les3awe

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