Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.7.2] Chunk loading problems

Recommended Posts

Okay, I have been attempting to, upon the world loading, to keep every chunk that a specific entity is in loaded. I have tried loading a chunk that I had placed the entity in, then see if it was loaded:


Minecraft.getMinecraft().theWorld.getChunkFromChunkCoords(11, 0);
System.out.println(Minecraft.getMinecraft().theWorld.getChunkFromChunkCoords(11, 0).isChunkLoaded);


But, that always returns false and the entity never updated. Perhaps I'm putting it in the incorrect place? I have tried it in the server and client tick events, as well as in an entity, but they all showed the same failure. Could anyone help/lead me in the correct direction? Also, is there a way to fetch all the entities in a world, even if the chunk hasn't been loaded as of yet?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.