Jump to content

Recommended Posts

Posted

Hi, I have been testing my entity AI and the world seems to freeze (can't move entities, can't break blocks but can move around et.c) a short while after I spawn an entity from my mod, does anyone have any ideas as to why this could be?

 

Here's my source code: https://github.com/VivaDaylight3/myrmecology

 

Thanks in advance!

"Thinking that coding is the nerdy IT guy at work rebooting your computer is like thinking that music is what happens when the piano tuner comes round." - Ed Rex

Posted

Hi

 

I haven't looked at your source code but I suspect you've got an infinite loop in there.

 

Easiest way to detect this: start it up in your debugger, wait for it to "freeze", then pause the execution and check what client thread is doing.

 

-TGG

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.