bedrock-protocol
                                
                                
                                
                                    bedrock-protocol copied to clipboard
                            
                            
                            
                        Offline mode causing packet issues?
I'm not sure if this issue is related to Minecraft data or internal code, but I've noticed that using offline mode affects some packets. Specifically, I encountered a problem with the "start_game" packet. For some reason, it reported the players position of Y-level as 32k, and the parameters for the player position were also about the same as the world spawn, which showed a Y-level of 32k as well. The X and Z coordinates were also very close to the spawn point.
I tested this multiple times while in offline mode, and it consistently returned a Y-level of 32k along with incorrect data. However, when I switched to a relay with the client online, it worked correctly. Once I changed the bot to online mode, everything functioned perfectly, and the player position was accurate.