The Bug
Endermen and chorus fruit consider dangerous blocks as valid teleporting locations.
Dangerous blocks include:
Fire / Soul fire
Campfire / Soul campfire
Cactus
Magma block
Sweet berry bush
Wither rose
Lava cauldron
Pointed dripstone
Powder snow (MC-252243)
How to reproduce
Summon a large area of magma blocks with some diamond blocks in the center
/fill ~ ~-1 ~ ~30 ~-1 ~30 minecraft:magma_block /fill ~14 ~-1 ~14 ~16 ~-1 ~16 minecraft:diamond_block
Stand on the diamond blocks
Eat some chorus fruit
→ ❌ Notice how endermen and chorus fruit consider dangerous blocks as valid teleporting locations
Expected behavior
The expected behavior would be that endermen and chorus fruit consider dangerous blocks as invalid teleporting locations.
Linked issues
relates to
Attachments
Comments

Shulker is WAI, because MC-83988.
Can confirm that this is still an issue with both chorus fruit and enderman in 20w51a.
Can confirm in 21w05b.
Video attached.
Can confirm in 21w07a.
I am able to confirm this behavior in 21w38a. Here are some extra details regarding this problem.
The Bug:
Endermen and chorus fruit consider dangerous blocks as valid teleporting locations.
Dangerous blocks include:
Fire / Soul Fire.
Campfire / Soul Campfire.
Cactus.
Magma Block.
Sweet Berry Bush.
Wither Rose.
Lava Cauldron.
Steps to Reproduce:
Summon a large area of magma blocks with some diamond blocks in the center.
/fill ~ ~-1 ~ ~30 ~-1 ~30 minecraft:magma_block
/fill ~14 ~-1 ~14 ~16 ~-1 ~16 minecraft:diamond_block
Stand on the diamond blocks.
Eat some chorus fruit.
→ ❌ Notice how endermen and chorus fruit consider dangerous blocks as valid teleporting locations.
Expected Behavior:
The expected behavior would be that endermen and chorus fruit consider dangerous blocks as invalid teleporting locations.
Can confirm in 1.18.1.
Can confirm in 1.18.2.
I don't think this is quite duplicated by the teleporting back bug, this is just about them teleporting on to them from something else if I'm not mistaken.