mojira.dev
MC-304028

Players in Creative mode cannot damage invulnerable mobs while holding spears

Mobs with the “Invulnerable” tag are immune to most types of damage but can be damged by players in creative mode, but due to this bug players can’t damage invulnerable mobs with a spear.

Steps to reproduce:

  1. Go into creative mode.

  2. Type the following command: /summon camel ~ ~ ~ {Invulnerable:1b} (I chose the camel due to it’s large hitbox).

  3. Attempt to damage the camel using a spear.

Expected result: since the player is in creative the camel will take damage.

Observed result: the camel doesn’t take damage.

Attachments

Comments 1

Thank you for your report!
However, this issue is Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version History -- Snapshot Version History -- Feature Requests and Suggestions

Quick Links:
📓 Bug Tracker Guidelines -- 💬 Community Support -- 📧 Mojang Support (Technical Issues) -- 📧 Microsoft Support (Account Issues) -- 📓 Project Summary -- ✍️ Feedback and Suggestions -- 📖 Game Wiki

CrockCraftMC

(Unassigned)

1512057

Confirmed

Expansion A

(Unassigned)

25w45a

Retrieved