Help with custom fire particle

Started by tuonkhung on Wed, 06/08/2022 - 03:00

Topic category: Help with modding (Java Edition)

Last seen on 09:03, 13. Jul 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with custom fire particle
Wed, 06/08/2022 - 03:00

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:

fire particle

 

Is there anyone can help me with this? 

Last seen on 09:03, 13. Jul 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Don't know why but it seems…
Wed, 06/08/2022 - 03:11

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 :(

Last seen on 15:17, 6. Jul 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
for every tick that mob is…
Mon, 06/13/2022 - 16:55

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

Last seen on 15:17, 6. Jul 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
actually i just realised you…
Mon, 06/13/2022 - 17:32

actually i just realised you can probably use ranged items to display 2d textures

Last seen on 09:03, 13. Jul 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks for replying to my…
Tue, 06/14/2022 - 00:43

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.