Started by
tuonkhung
on
Topic category: Help with Minecraft modding (Java Edition)
I'm just wondering whether you can make a custom fire particle. I knew how to make a custom fire block thanks to other forum but what about custom fire particle similar to this one:
Is there anyone can help me with this?
Don't know why but it seems the image isn't showing up. Anyway here is the link of the image in case it didn't show up.
https://ibb.co/whNcyym
Sorry for the inconvenience :(
for every tick that mob is on fire, spawn a bunch of particles with the texture of your custom fire, and spawn another particle that looks like a big stretched fire (idk why vanilla texture does that lol)
the amount of smaller fire particles should be more or less depending on the height of the affect entity's hitbox
actually i just realised you can probably use ranged items to display 2d textures
Thanks for replying to my question but I don't quite understand what you try to suggest me. Can you explain a bit about using ranged items to display 2d texture. Moreover, the fire in vanilla seems to be an animated texture and animated particle has age thus it makes a trail of fire whenever an entity moves. So instead of having a lets say a 9-frame animated fire, I separated it into 9 different particle with 1 tick age and had them spawned continuously. It look a bit weird but at least it doesn't make a trail anymore (except when they start to change Y position or move too quick for the fire to despawn). Anyway, thanks again for your respond. If you have any other idea or I did misunderstood some of your suggestion, you can always let me know it.