Jump to content

Finding a TileEntity if it is not in world.loadedTileEntityList?


dthall43

Recommended Posts

Hi, I am currently writing a mod that looks for TileEntity that I know are in loaded chunks.(This is done client side) but when I address mc.theWorld.loadedTileEntityList. That tile entity is not in the list. However I know it exists because I can stand on top of it and use world.getTileEntity(player.posx,player.posy-2, player.posz) and It gets returned just fine.

 

Does anyone know of a way to find all of the TileEntities that are not in the loadedTileEntityList?

Link to comment
Share on other sites

Hi

 

I think that TileEntities only get put onto that list if they need updating i.e. the world needs to call tileEntity.updateEntity().

 

I don't think there is a client-side list for all tileEntities including those that don't need updating.

 

Are these your own TIleEntities you're looking for? Or do you need to find vanilla as well?

 

-TGG

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.