Jump to content

Problem: TE.updateEntity() stops getting called sometimes


Recommended Posts

Hi, this is with 1.7.10.


I have a problem with one of my TE's. For some reason (usually after entering the dimension containing the TE) the updateEntity() function is no longer called on it (both server/client side). The TE does return true for canUpdate(). What can I do to ensure my TE starts 'ticking' again after enter the dimension that contains it?



Link to comment
Share on other sites

BTW: Here is the link to the misbehaving TE:




To clarify. It is the checkStateServer() method that is sometimes not called. This method is called from a superclass (GenericTileEntity):


    public void updateEntity() {
        if (worldObj.isRemote) {
        } else {

Link to comment
Share on other sites

Some extra information. It is always ok right after loading the world and it is also ok if I pick up my block and put it back again. I haven't really found a pattern yet. It is probably (and likely) a logic error in my code but I can't see it and putting a 'printf' in the updateEntity() shows that the updateEntity() is not called for some reason.


Edit: also I have only been able to reproduce this on SMP. In single player it always seems to work fine.

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.

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.

  • Create New...

Important Information

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