Open DarthSharkie opened 5 months ago
This was clearly intended, even if it feels awkward. Needs discussion before fixing in any particular way, or leaving as-is.
Documentation is clear that this is a bad idea, at least:
The {@code particleEffect} may be null, but note that it will cause problems when rendering leaf-level objects
as the particle effect must be encoded to traverse the server to client network channel. Setting a particle
effect on a ParticleCombiner does not have an effect on rendering.
This shouldn't be allowed, as ParticleObject specifies a
@NonNull
onparticleEffect
in some subclasses. This should be standardized across the subclasses and clearly documented.