Just have one more problem out of my 2. I have the following code in a certain class, and it worked fine in 1.2.5, and now it still works completely fine, but the lightning isn't rendering. It plays the sound of the lightning and everything, but no lightning is rendered and no fire appears. I would appreciate some help. Thanks!
I'm pretty sure your problem is going to be the explosion. I haven't actually looked around but I'm assuming that lightning won't render if the block it'd be hitting is air, and it definitely wouldn't be placing fire on air. If you really want the lightning after the explosion you're going to need to find the new ground position for y, and then make the lightning based on it. Otherwise you could have the lightning come before the explosion, which in this situation should work, but the explosion would destroy the fire.
Hmm. Well, I thought that would work, but it seems that even without the explosion code, the lightning doesn't show up. The fire shows up, but the lightning doesn't render whatsoever.
Could your positions be messed up somehow? Always a possibility, and that is one of the few differences I'm seeing. The other is that in one you set the lightning in-game immediately after creating it, the other you have an explosion in-between. Only differences I'm seeing.
Could your positions be messed up somehow? Always a possibility, and that is one of the few differences I'm seeing. The other is that in one you set the lightning in-game immediately after creating it, the other you have an explosion in-between. Only differences I'm seeing.
Nope. I tested that a bit, still no difference. Hmm.
Oh yeah, also, the lightning works perfectly fine in this method.
Nope. I tested that a bit, still no difference. Hmm.