The bug
The anti-cheat engine is being over-zealous causing the following issues with nether portals, caused by the game teleporting a player back:
Portals setting the player on fire if there is lava at the exact location of the entry portal in the other dimension.
Can kill player if they are low on food or health - very serious.
Deals 11 damage (5 1/2 hearts) over time.
Usually survivable in survival mode, especially if you are full on food or have good armour - you will only take 1 or 2 hearts' damage.
Portals loading chunks at the exact location of the entry portal, but in the other dimension.
Only the chunk at the exact location of the other dimension's portal loads.
Only the terrain is generated: entities do not spawn.
InhabitedTime
of that chunk is 0.
These issues are usually characterised by a debug message in the chat claiming that the player moved too quickly:
[11:07:36] [Server thread/WARN]: FM22 moved too quickly! 8740.213380243677,-16.0,8751.561382695907
(this was going through a nether portal in the overworld at 10 000, 10 000).
Workaround
Remove all fire/lava at the exact location of the entry portal in the other dimension. E.g., if you have a portal at (100, 64, 100) in the overworld and you are set on fire when going to the nether, go to (100, 64, 100) in the nether (not to the location of the exit portal) and remove fire and lava around that exact location.
Related issues
MC-90062 - which covers the other effects of the cheat engine changes
MC-86850 - which covers how taking certain actions may cause you to remain at the erroneous location.
The fix
A suggested fix by @unknown, @unknown, and @unknown can be found in this comment.
Linked issues
is duplicated by 11
relates to 5
Attachments
Comments 119
I will make a video showing all the issues soon but MC-97523 has a couple videos showing portal behaviour (although you now take less fire damage in pre-4). I tested all these issues which were claimed by other people on a fresh world on a 1.9 pre-4 server, if you would like to reproduce them.
I think the mention of swiftness should be removed because of MC-10755
MC-10755 is a totally different case, where sound game logic just results in some non-intuitive behaviours. This is an anti-cheat feature accidentally breaking the game logic.
@Fang Zhang
This was actually created in relation to MC-89928, but relates to the anti-cheat kicking in and then teleporting the player. The teleport action is clearly visible.
Fixing this bug should be high priority. It has nasty interactions with MC-138550 (High ms ticks in 1.14+, player cannot interact with world normally) and MC-151082 (Loading chunks creates irrecoverable lag). Those bugs are issues with chunk loading and/or chunk caching. This bug causes chunks to be loaded unnecessarily. Combine the two, and this is probably why players can take several minutes to forever to teleport through a Nether portal in 1.14+.
Fixing this bug should not be difficult as a suggested fix has already been provided.
Test: New world, teleported to 3M 100 0, went through a portal. Waited a few minutes, went back. Then the same process again in Survival. Resulting region files:
minecraft/saves/New World (6)/region/r.-1.-1.mca
minecraft/saves/New World (6)/region/r.-1.0.mca
minecraft/saves/New World (6)/region/r.0.-1.mca
minecraft/saves/New World (6)/region/r.0.0.mca
minecraft/saves/New World (6)/region/r.5858.-1.mca
minecraft/saves/New World (6)/region/r.5858.0.mca
minecraft/saves/New World (6)/region/r.5859.-1.mca
minecraft/saves/New World (6)/region/r.5859.0.mca
minecraft/saves/New World (6)/DIM-1/region/r.732.-1.mca
minecraft/saves/New World (6)/DIM-1/region/r.732.0.mca
minecraft/saves/New World (7)/region/r.-1.-1.mca
minecraft/saves/New World (7)/region/r.-1.0.mca
minecraft/saves/New World (7)/region/r.0.-1.mca
minecraft/saves/New World (7)/region/r.0.0.mca
minecraft/saves/New World (7)/region/r.5858.-1.mca
minecraft/saves/New World (7)/region/r.5858.0.mca
minecraft/saves/New World (7)/region/r.5859.-1.mca
minecraft/saves/New World (7)/region/r.5859.0.mca
minecraft/saves/New World (7)/DIM-1/region/r.732.-1.mca
minecraft/saves/New World (7)/DIM-1/region/r.732.0.mca
So yes, this is indeed fixed. Otherwise the files DIM-1/region/r.5858.0.mca
and region/732.0.mca
would exist at least in the Survival world.
Disclaimer: I don't know if you can still get on fire if those chunks were already generated. I doubt it, because that would almost imply intentional differentiation between whether the chunk was generated before or not when putting the player in the wrong location, but I have no tested it, because that part of the bug is annoying to test.
It's not resolved yet, as of 1.18.2. I am constantly getting chunks loaded and the region/poi/entities files created/updated at the coordinates of the wrong dimension. Running on a vanilla server.
This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit
Could anyone link to the video proofs of those confirmed issues?