how to create a working flamethrower

Started by TNT1243 on

Topic category: Help with modding (Java Edition)

Last seen on 14:46, 9. Jan 2024
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to create a working flamethrower

i made a new ranged weapon that shoots projectiles and i did that when it hits an enemy it will lit them for 4 seconds, but it doesnt work. 

so can anyone please help me?

Last seen on 21:45, 30. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well if you want an actual…
Tue, 04/19/2022 - 20:35

well if you want an actual flamethrower i would check out https://mcreator.net/forum/74550/tutorial-how-create-simple-laser-beam-… using an item instead of a ranged item and make it so that it lights them on fire

otherwise you need to just make it so when projectile hits entity if entity is not source entity set target entity on fire for x seconds