Topic category: Feature requests and ideas for MCreator
Tested on 2024.3, forge 1.20.1
Currently, there are 3 types of particles. Opaque, Lit, and Translucent.
- Opaque makes your particle not see-through, but does not light up.
- Lit makes your particle not shaded. (aka glowing)
- Translucent makes the particles with non-opaque pixels see-through.
I noticed that if you add the code below into a transparent-type particle code, it would make the transparent particle be both translucent and lit at the same time. You cannot do this without locking the code.
@Override
public int getLightColor(float partialTick) {
return 15728880;
}
In summary, a particle that is both transparent and lit must have the same code as the translucent render type particle, but with the override function above that makes the translucent particle glow.
I suggest turning the Particle Render type drop-down option into two checkboxes, one labeled as translucent, and the other as lit.
The pseudo truth table below describes how the particle should render depending on the checkboxes.
Translucent Checkbox | Lit Checkbox | The way the particle should render |
---|---|---|
false | false | opaque |
false | true | lit particle type |
true | false | translucent particle type |
true | true | particle that is both translucent and lit |