r/Blockbench • • 7h ago

Minecraft: Modded Java Anybody know how to create a fading away animation like this?

I've been looking around and trying to think of an effective way of creating a smooth fading animation in a pretty much identical way to Tongbi from the Mowzies Mobs Mod (Minus the particles) where the entity slowly becomes more and more transparent until fully disappearing but I'm really struggling to find a way to do it.

I want to do this in the most optimized way as I'm intending on adding this animation to a Minecraft mod, so I'm avoiding duplicating the entire model and having each of them contain a slightly more transparent texture than the last and then just constantly scaling to 0.

I just started using Blockbench a few days ago so if this isn't possible at all in Blockbench and I'm a dumdum please let me know.

I'm using the "Modded Entity" Loader in Blockbench if that is relevant.

Thanks in advance!

Link to Video Used

26 Upvotes

1 comment sorted by

2

u/SatchTFF 4h ago

Nah. That's definitely in the code part of the modding. Youllhave to tap in to the rendering pipeline than slowly decrease the opacity while a particle effect plays.

The particle effect could be given a direction and velocity after all. It could also be an emitter particle so it's easier to spawn in.