Jump to content

[1.7.2]Minecraft Crashing, Unsure why


Delta 72 Knight

Recommended Posts

I hate posting messages like this because I know they annoy me but I really can't figure this one out.

While coding to add a liquid today(Just one that looked like oil) I was having difficulties in getting one to work, I finally got to what I thought was the solution. Then it crashed and I can't figure out why, I can read the errors okay now thanks to my experience but I can't find out where this one leads, or where to fix it. Any help is appreciated!

 

Here is the Whole crash report

https://gist.github.com/anonymous/7dd18baf88c94218929e

 

And if you want to look through my code here it is:

This is the main class

 

https://gist.github.com/anonymous/900a021870557211bd66

 

and this is the block class for the liquid

 

https://gist.github.com/anonymous/f856dcdcc4f3574038b3

 

Link to comment
Share on other sites

You need to add

myFluidInstance#setBlock(myBlockInstance)

after you've initialized your block and fluid.

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

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.

Link to comment
Share on other sites

So for me it would be like this?

fluidOil.setBlock(blockOil);

And it would go right in place where? I put it below my GameRegistry at the bottom of the PreInit Event and I still get the same error  :-\

I have tried it in a few varied spots and have gotten the same or little difference in result.

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.

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.