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:
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
Obtain any projectile, for example, a snowball.
Whilst facing the world border, throw/shoot the projectile.
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.
Related issues
is duplicated by
relates to
Attachments
Comments


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.
confirmed for 14w31a

Confirmed for 1.8.

Moved the chorus fruit part to MC-106416 as it uses the same method as endermen.
Confirmed for 1.13.1-pre1
Confirmed for 1.13.1
Confirmed for 1.13.2-pre2.
Confirmed for 1.13.2 and 19w09a. This does not affect fireworks.

Affects 1.16.1 and 20w27a

In 20w29a

In 1.17. Also affects tridents.
Can confirm in 1.17.1.
Can confirm in 21w42a. I'd like to request ownership of this ticket since the current reporter has been inactive for over a year. I've willing to continue to provide all of the necessary information and will keep this report updated.

Can confirm in 21w43a.

Still affects 1.18pre1

Affects 1.18.1
Can confirm in 1.18.2 and 22w11a.
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