EffectLib icon indicating copy to clipboard operation
EffectLib copied to clipboard

The ColoredImageEffect is blinking

Open Foodust opened this issue 1 year ago • 4 comments

Nice to meet you. I'm using a translator, so it may not be accurate. This plugin is so interesting that I'm testing it alone. But when I import the image with the ColoredImageEffect, the particles flash. Is it because of the large image size? It loads the whole thing, but it blinks 1/4. any helps please, thank you

Foodust avatar Apr 16 '24 02:04 Foodust

I think you are probably right, Minecraft has a limit on the number of particles it will display. So if there are two many they may blink as it turns off the old ones when spawning new ones.

The step parameters are the best way to fix this, it will make your image less dense by moving farther between each particle spawn. Something like this, maybe:

               stepX: 20
               stepY: 20

The default is 10, so I think 50 should make 1/2 as many particles (in both directions, so 1/4 total). I'd suggest trying that and tweaking the value until it looks good.

Let me know if that works!

NathanWolf avatar Apr 16 '24 14:04 NathanWolf

Thank you! I use the translator so it may not be accurate. StepX and stepY solved the flickering problem Image pixels get lower. I don't think this is a fundamental solution. Is there another solution to load while keeping image density?

ezgif-2-0a039b6418

Foodust avatar Apr 17 '24 12:04 Foodust

Wow that's a lot of particles! :)

No unfortunately, there is no real solution that I know of.

It is a limitation of the Minecraft client itself, only so many particles can be on the screen at once.

NathanWolf avatar Apr 17 '24 15:04 NathanWolf

I see, thank you for your response, I will look for other ways.

Foodust avatar Apr 18 '24 00:04 Foodust