mojira.dev
MC-83988

Shulkers do not take lava/fire damage

Steps to reproduce:
1. Spawn a shulker.
2. Give yourself a sword.
3. Enchant it with Fire Aspect.
4. Hit the shulker.

Expected result:
The shulker catches fire.

Actual result:
It acts as if the sword didn't have Fire Aspect at all. It works on other mobs, though.


The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

It seems highly intended that Shulkers should be fire resistant, but to fix this, change this.isImmuneToFire to false or just remove the line.

EntityShulker.java

public EntityShulker(World worldIn)
    {
        this.isImmuneToFire = false; //previously set to true
    }

Linked issues

Attachments

Comments 32

confirmed for Snapshot 15w31c

Confirmed for 15w47c

Confirmed for 15w50a

Confirmed for 15w51b

Confirmed for 16w03a

22 more comments

Confirmed for 16w21b.

Confirmed for 1.10-pre1.

Confirmed for 1.10-pre2

Confirmed for 1.10

This issue relates to MC-102836.

nyuszika7h

Jens Bergensten

Confirmed

Minecraft 15w31b, Minecraft 15w31c, Minecraft 15w44b, Minecraft 15w47c, Minecraft 15w50a, ..., Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a

Retrieved