Riding an entity into portals may cause the game to softlock
Riding an entity into portals may cause the game softlock.
Relates to MC-272322.
Steps to reproduce:
1./gamerule entitiesWithPassengersCanUsePortals true
2.Go into the nether.
3./tp 100000 ~ ~
4.Summon and tame a horse and ride it, then build a portal here.
5.Go back from the nether to overworld with it through the portal.
Observed result:
The game will softlock, you will fall into the void (client) but don't take void damage, the server is frozen, and you can't save and quit normally.
Expected result:
You will be teleported to overworld normally.
Notes:
This affects both nether portal and end portal, from overworld to nether/end or back to overworld from nether/end.
Environment
Windows 11, Java 22
Created Issue:
Riding an entity in to portals may cause the game softlock
Riding an entity into portals may cause the game softlock.
Relates to
MC-272322.Steps to reproduce:
1./gamerule entitiesWithPassengersCanUsePortals true
2.Go into the nether.
3./tp 100000 ~ ~
4.Summon and tame a horse and ride it, then build a portal here.
5.Go back from the nether to overworld with it through the portal.
Riding an entity into portals may cause the game softlock
Riding an entity into portals may cause the game softlock.
Relates to
MC-272322.Steps to reproduce:
1./gamerule entitiesWithPassengersCanUsePortals true
2.Go into the nether.
3./tp 100000 ~ ~
4.Summon and tame a horse and ride it, then build a portal here.
5.Go back from the nether to overworld with it through the portal.
Observed result:
The game will softlock, you will fall into the void (client) but don't take fall damage, the server is frozen, and you can't save and quit normally.
Expected result:
You will be teleported to overworld normally.
Notes:
This affects both nether portal and end portal, from overworld to nether/end or back to overworld from nether/end.
relates to
Riding an entity into portals may cause the game softlock.
Relates to
MC-272322.Steps to reproduce:
1./gamerule entitiesWithPassengersCanUsePortals true
2.Go into the nether.
3./tp 100000 ~ ~
4.Summon and tame a horse and ride it, then build a portal here.
5.Go back from the nether to overworld with it through the portal.
Observed result:
The game will softlock, you will fall into the void (client) but don't take
falldamage, the server is frozen, and you can't save and quit normally.Expected result:
You will be teleported to overworld normally.
Notes:
This affects both nether portal and end portal, from overworld to nether/end or back to overworld from nether/end.
Riding an entity into portals may cause the game softlock.
Relates to
MC-272322.Steps to reproduce:
1./gamerule entitiesWithPassengersCanUsePortals true
2.Go into the nether.
3./tp 100000 ~ ~
4.Summon and tame a horse and ride it, then build a portal here.
5.Go back from the nether to overworld with it through the portal.
Observed result:
The game will softlock, you will fall into the void (client) but don't take void damage, the server is frozen, and you can't save and quit normally.
Expected result:
You will be teleported to overworld normally.
Notes:
This affects both nether portal and end portal, from overworld to nether/end or back to overworld from nether/end.
Riding an entity into portals may cause the game to softlock
Another discovery is it might teleport you to the void and cause softlock(You don't take fall damage)
Reported as MC-272329.
More tests:
This bug happens mostly when teleporting from nether to overworld. (In some situations, overworld to nether, overworld to the end, the end to overworld also happens)
When you riding an entity and teleport from nether to overworld, you will be teleport correctly, but the horse will teleport to the same place in the nether, if the distance from your place in overworld and the horse is close, you will be teleport to the horse, cause this bug.
If the distance from your place in overworld and the horse is far(the horse is in unloaded chunk), it will cause a huge desync from client and server, and your game will be softlock, you can't break blocks in survival, and even if you fall into the void, you won't take any damage. The server maybe freeze in this situation(That's MC-272329) When you quit and relog, you will be teleported to the horse.
I can confirm some of this. The game seems to softlock when entering a nether portal on horseback (step 4). I could save the game, and when I loaded the game again I was back in the Overworld and there was no Nether portal.
Edited to add: On reload, the horse was also in the Overworld and the player was riding it. Player and horse ended up in an ocean. I used seed 1 for the world.
I can confirm too.
More tests:
When you riding an entity and teleport from nether to overworld, you will be teleport correctly, but the horse will teleport to the same place in the nether, if the distance from your place in overworld and the horse is close, you will be teleport to the horse (That is
MC-272322).If the distance from your place in overworld and the horse is far(the horse is in unloaded chunk), it will cause a huge desync from client and server, and your game will be softlock, you can't break blocks in survival, and even if you fall into the void, you won't take any damage. The server maybe freeze in this situation. This is how this bug happens. When you quit and relog, you will be teleported to the horse.