mojira.dev
MC-106968

Snow golems aren't damaged by splash or lingering water bottles

The bug

Snow golems don't take damage from splash and lingering water bottles. This is inconsistent with endermen and blazes, which do take damage from splash and lingering water bottles, and, like snow golems, are damaged by rain and water.

Suggested fix

(Based off of Minecraft 1.11, MCP 9.35)

net.minecraft.entity.projectile.EntityPotion.func_190544_c(EntityLivingBase p_190544_0_)

private static boolean func_190544_c(EntityLivingBase p_190544_0_)
    {
        //added " || p_190544_0_ instanceof EntitySnowman"
        return p_190544_0_ instanceof EntityEnderman || p_190544_0_ instanceof EntityBlaze || p_190544_0_ instanceof EntitySnowman;
    }

Linked issues

Comments 5

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Confirmed for 1.12-pre2

Confirmed for 19w34a

In 20w11a

In 20w12a

Albert Sturm

carpet0928

kingbdogz

Confirmed

Entities

damage, lingering_potion, snow_golem, splash_potion

Minecraft 1.10.2, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w41a, Minecraft 16w42a, ..., 1.15 Pre-Release 2, 1.15.1, 1.15.2, 20w11a, 20w12a

1.16 Pre-release 1

Retrieved