Jump to content

[1.7.2] StackOverflowError: exception getting block type in world.


Recommended Posts

Posted

Hello everyone,

 

I'm trying to add a new chest into my mod. However, whenever I try to load up my world, I get this error:

http://pastebin.com/ZGtan9t3

 

Here's my TileEntity class:

http://pastebin.com/ug0nJZLd

 

(the reason I override checkForAdjecentChests() is because I don't want this chest to join any other vanilla chests.)

 

And my block class:

http://pastebin.com/tWMF64ne

 

Could someone help me out?

 

Thanks!

Potato's have skin. I have skin. Therefore, i am a potato.

 

Follow me on Twitter!

http://www.twitter.com/I_Mod_Minecraft

Posted

Although I haven't spot the problem, and although you might know that already, stack overflow exception happens mostly in recursion where you keep calling the same method again from itself or from one of the methods that is called in it, because of the way methods work.

I think you should check the methods called in your methods to see whether you method has been called from them.

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.