mojira.dev
MC-53602

Projectiles don't collide with the world border

The Bug:

Projectiles don't collide with the world border.

This affects all types of projectiles such as arrows, snowballs, eggs, ender pearls, fireballs, etc... This also allows players to get outside of the world border by simply using an ender pearl.

Steps to Reproduce:

  1. Set the world border's center to your current position and to twenty blocks wide by using the commands provided below.

    /worldborder center ~ ~
    /worldborder set 20
  2. Obtain any projectile, for example, a snowball.

  3. Whilst facing the world border, throw/shoot the projectile.

  4. Take note as to whether or not projectiles collide with the world border.

Observed Behavior:

Projectiles don't collide with the world border.

Expected Behavior:

Projectiles would collide with the world border.

Linked issues

MC-53376 World Border doesn't stop arrows Resolved MC-53407 World Border - Players can currently ender perl out Resolved MC-54103 Ender pearl thrown through world border. Resolved MC-55786 Arrows and enderpearls can be thrown / shoot trough worldborder Resolved MC-56255 Ender pearls can go outside World Borders Resolved

Attachments

Comments 26

Cannot confirm.
But this is kinda intended, because it's planned to allow players to go outside of the world barrier, but they take (quickly) damage there.

Confirmed for 14w18b.

I say that the world border is simply the world BORDER, therefore you really shouldn't be able to cross it.

@kumasasa it will be unfair for players to lose all of their equipment just because they accidently shot an ender pearl through the barrier, and because of the damage being dealt they will lose their equipment.
It would be better if you just could be teleported to the closest block of air from the world border after you teleported. For example: the world border is at (50,20+1,40) and you teleport to (60,10+1,40) - the wolrd border is directly in your back and the "+1" comes from the block of air. After you teleported, you will be teleported to (50,20+1,40), thus not losing any items. It would be nice if this could be a possible solution, but if it is impossible then I guess you shouldn't cross the world border with any valueable items in your inventory.

This is related, but meant here is the world border.

16 more comments

Can confirm in 1.19.

Can confirm in 1.19.1-rc3

Confirmed in 1.19.1

Also, because the description of the bug got generalized to all projectiles, I wanted to clarify that this bug allows players to get outside the world border by using an ender pearl.
This is especially annoying for some Mini-games that use the world border to limit the play area, because as it turns out, you only get damage from the world border, when you are 6+ blocks out. This little "gap" of 5 blocks gives players the ability to hide behind the world border without being able to get hit (If the other player doesn't have a Bow)

Can confirm in 23w03a

Still affects 23w51b

Ben Hayden

Avoma

rkullenius

Confirmed

Platform

Low

Projectiles

arrow, collision, ender_pearl, fireball, projectile, snowball, world-border

Minecraft 14w17a, Minecraft 14w18a, Minecraft 14w18b, Minecraft 14w28b, Minecraft 14w31a, ..., 1.20.6 Release Candidate 1, 1.20.6, 24w18a, 1.21, 1.21.1

24w33a

Retrieved