Posted May 15, 201411 yr 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
May 15, 201411 yr 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.
May 15, 201411 yr Author 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.
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.