I'm making a minecraft like game where any player can make a world, build stuff in it, etc. Problem is, whenever a player creates/joins a world, the whole world's data is sent to their client (all the blocks in each chunk for example). This can allow them to exploit it so that if they joined a world where it is built such that the players will need to scavage a specific item in the world, exploiters could just find the item in the chunk data and determine its location. Is there any way to prevent this? I can only think of using the server to track the player's position and send them the chunks to be rendered but that will cost a lot of resources for the server especially considering that on the client side, the whole world's chunk data is stored in memory
I asked chatgpt and they said another way is to use encryption but that wont really work if the decryption method is solely done by the client
