Closed shartte closed 8 years ago
Light map is taken from vanilla i suspect.
Does it fix all particle issues?
@elix-x It fixes the light fixtures and the crystal growth accelerator for me. I couldn't test the crafter, because I don't think that works yet. I still want to double check that they are 100% working once all the items/blocks are done, but the format in which they fill the vertex buffer is now in sync with what Vanilla does.
Hint: you have /particle
.
@elix-x That command does not work for non-vanilla particles. It uses an enum internally to map from name->particle type, which we cannot extend.
p.s.: I had to dig into CommandParticle to figure that out :P
That's weirdly interesting. I'll look into command part.
@elix-x I think this fix is still relevant as far as I know. Any chance of merging it?
So i did not merge it... Oh, i know where i got stuck.
I'll merge it, other particles will be fixed as we see them in game.
Awesome thanks. And yes, more fixes are sure to follow.
This fixes issue #11.
The Particle FX classes were using a different ordering for the vertex attributes than Minecraft. This caused the color to be interpreted as the position and some other funkyness. I copied the vertex attribute ordering from the Vanilla base class and did this for all the FX classes that override renderParticle.
This is how it looks now:
They seem to look very slightly thicker than in 1.7, but that can be fixed later. In addition, the Particle FX classes definitely need some love w.r.t. to code quality, but i wanted to keep this PR small.