Items, thrown eggs, and snowballs can pass through nether portals without teleporting if they are going fast enough. I assume this has always been the case, but after the fix of MC-101556 the speed at which this can occur has been greatly reduced. Before 25w04a, items/eggs/snowballs would need to travel 1.25 blocks per tick (the tp range + their hitbox size) to be able to skip a nether portal. After, this is now 0.5 blocks per tick. This is very problematic as slime blocks launch entities at twice that velocity (1 bpt), and dispensers launch eggs and snowballs also at around 1 block per tick. This makes it basically impossible to reliably teleport these entities through nether portals.
Attachments
Comments 5
I think its beacuse the portal block is thin and its moving so fast when the game updates it moves it enough that it goes through the portal block and never actually touches it. It could be fixed by making like a trail of the egg thats invisible and checking if the trail touches da portal. Sorry if i am completely wrong.
Code analysis: Projectiles dont update their old position (
xOld
,yOld
,zOld
fields) correclty, thus themovement
that gets checked for collisions within theAbbpyEffectFromBlocks
call is 0 blocks long, thus the projectile doesnt search for collideable blocks (portals) in the block positions where it is supposed to.