mojira.dev
MC-106416

Chorus fruit and Enderman can teleport to outside the world border and into powder snow

The Bug

Endermen and chorus fruit consider blocks outside of the world border, and powder snow as valid teleporting locations.

Note: This report contains endermen and chorus fruit because as of 1.11.2 they use the same method (net.minecraft.entity.EntityLivingBase.attemptTeleport(double, double, double)) to teleport.

How to reproduce

  1. Set the center of the world border to your current position and to 10 blocks wide

    /worldborder center ~ ~
    /worldborder set 10
  2. Obtain some chorus fruit and eat it until you end up outside of the world border
    → ❌  Notice how chorus fruit considers blocks outside of the world border as valid teleporting locations

  3. Summon an enderman and make it teleport by placing some water nearby
    → ❌  Notice how endermen consider blocks outside of the world border as valid teleporting locations

Examples

Here are a few examples:

  • Enderman:

    [media][media]
  • Chorus fruit:
    Video:

[media]

Expected behavior

The expected behavior would be that endermen and chorus fruit consider blocks outside of the world border, and powder snow as invalid teleporting locations.

Linked issues

Attachments

Comments

[Mod]Les3awe

This issue relates to MC-102836.

migrated

That is a feature, not a bug. Mobs can go through the border unlike the player.

violine1101

@unknown, source?

migrated

Pixdo.et, enderman going outside the world may be intended, but chorus fruit teleporting you outside is definitely a bug

Avoma

Can confirm in 21w05b.

Avoma

I am able to confirm this behavior in 21w38a. Here are some extra details regarding this problem.

The Bug:

Endermen and chorus fruit consider blocks outside of the world border as valid teleporting locations.

Steps to Reproduce:

  • Set the center of the world border to your current position and to 10 blocks wide.

/worldborder center ~ ~
/worldborder set 10
  • Obtain some chorus fruit and eat it until you end up outside of the world border.

  • → ❌  Notice how chorus fruit considers blocks outside of the world border as valid teleporting locations.

  • Summon an enderman and make it teleport by placing some water nearby.

  • → ❌  Notice how endermen consider blocks outside of the world border as valid teleporting locations.

Expected Behavior:

The expected behavior would be that endermen and chorus fruit consider blocks outside of the world border as invalid teleporting locations.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

MMK21

Powder Snow is also not considered when checking for valid teleport destinations. (See MC-252243 for more information.)

[Mod]Les3awe

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour, Player

chorus_fruit, enderman, outside, powder_snow, teleport, world-border

Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, ..., 25w05a, 25w09b, 1.21.5 Release Candidate 1, 1.21.5, 25w17a

Retrieved