Jump to content

Recommended Posts

Posted

I have been having problems with recipes.

 

 

  Reveal hidden contents

 

 

I have taken out a lot of stuff that you do not need to see so don't correct me on stuff like you've forgotten something completely unrelated to this.

 

As you can see I have a recipe for malblock that you can craft with 9 of malingot. Now when i try and craft 9 malingot with one malblock using a shapeless crafting recipe it crashes minecraft. I have tried my other mod blocks instead of mablock to craft 9 malingots and it works just fine. Its an issue with malblock. I've tried changing names but I don't think that would help because eclipse would of picked it up. I think it may be a problem with conflicting recipes? The fact that malblock was crafted with malingots but then malblock can be crafted into malingots. Im not sure if that would even be a possible error but it might.

 

Here is the crash report when I try and run the code above ( With the  other bits of code as well)

 

Eclipse Console

 

  Reveal hidden contents

 

 

Minecraft Crash Report

 

  Reveal hidden contents

 

 

I would really appreciate if somebody could Help me with this as it is really annoying me.

Thank you.

 

~Alizter

Posted

Because you're using a block in your recipe before initializing it, which causes an NPE. I suggest to create your recipes after you initalize all blocks and items.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

  Quote

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

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.