mojira.dev
MC-140085

Ender dragon doesn't take damage from touching cacti, even when mobGriefing is set to false

See summary.

What I expected to happen:

The dragon would take damage like every other mob/entity that takes damage

What actually happened:

No damage was dealt to the Ender Dragon

How to reproduce:

  1. Place a block of sand and put a 4-block tall stack of cacti on it

  2. Set gamerule mobGriefing to false

  3. Stand next to the cactus and do "/summon ender_dragon ~ ~ ~ {DragonPhase:0}"

          → ❌  The dragon doesn't take damage from touching the cacti, which can normally damage even the wither.

This bug probably occurs because dragons don't have collision with blocks. This also contradicts the following statement:

"When any entity that takes damage, including players and mobs, touches a cactus, 1 damage is taken every 0.5 seconds."

Attachments

Comments 3

Can confirm; however please note that the wiki is edited by community members (as opposed to Mojang staff) and may not be entirely correct or accurate.

I know that the minecraft wiki is run by community members, I was just mentioning that the ender dragon not getting hurt by cacti contradicted that statement.

Can confirm in 21w05b.

Yellow01

(Unassigned)

Confirmed

(Unassigned)

cactus, damage, ender_dragon

Minecraft 1.13.2, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w49a, 1.16.2 Pre-release 1, 24w38a

Retrieved