mojira.dev
MC-102836

Endermen can teleport to some dangerous places

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

  1. 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
  2. Stand on the diamond blocks

  3. 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

MC-266490 Breezes do not avoid dangerous blocks when jumping Reopened MC-106416 Endermen and entities eating chorus fruit can teleport outside the world border and into powder snow Resolved MC-249330 Endermen and chorus fruit can teleport to positions without a surface to stand on Open MC-198674 Enderman doesn't immediately teleport away to valid blocks when taking damage from dangerous blocks Reopened MC-93035 Chorus fruit cannot teleport the player onto fences, walls and carpet Open

Attachments

Comments 10

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.

Can confirm that this is still an issue with both chorus fruit and enderman in 20w51a.

Can confirm in 21w05b.

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.

[Mod]Les3awe

bl4ckscor3

Confirmed

Gameplay

Normal

Mob behaviour

berry_bush, cactus, campfire, chorus_fruit, dangerous, enderman, fire, magma_block, soul_campfire, soul_fire, teleport, wither_rose

Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, , 26.2 Snapshot 3, 26.2 Release Candidate 2, 26.2, 26.3 Snapshot 2, 26.3 Snapshot 8

26.3 Snapshot 9

Retrieved