Jump to content

[Solved] Is there a method called when a tile entity is Unloaded


Recommended Posts

Posted (edited)

So what I'm wanting to do is change the sky renderer when a player is close to the tileentity.

 

I know there's a method called when the tileentity is loaded (https://mcforge.readthedocs.io/en/latest/tileentities/tileentity/#synchronizing-the-data-to-the-client).
But what about unloaded, is there a method for that? or more importantly, is there a better way to do what I want to do, (I know there is, I just don't know what it is)

 

Edited by DWDev
Adding 1.12.2

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.