mojira.dev
MC-109022

Splash / lingering water bottle cannot hurt invulnerable blaze and enderman when player in creative mode

Splash / lingering water bottle cannot hurt invulnerable blaze and enderman when player in creative mode.
Unlike the arrow, snowball, splash potion, lingering potion, ender pearl.


Code Analysis

Based off of Minecraft 1.11, MCP 9.35

When a blaze/enderman is hit with a water potion, the method net.minecraft.entity.projectile.EntityPotion.func_190545_n() calls net.minecraft.entity.EntityLivingBase.attackFromEntity(DamageSource source, float amount) which will return false if the entity is invulnerable.

Linked issues

Attachments

Comments 2

If MC-78689 is a bug then this ticket is invalid

does this bug affect snowmans?

they afraid water too.

[Mod]Les3awe

(Unassigned)

Confirmed

Mob behaviour

blaze, enderman, hurt, invulnerable, player, splash_potion, water-bottle

Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, ..., Minecraft 18w50a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b

Minecraft 1.14.3

Retrieved