|HELP| Burn the target entity that is hit

Started by RandomDrago on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Feb 2022
Points:
524

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 20
|HELP| Burn the target entity that is hit

Hi- I'm making an ability where it allows the player to burn any entity they hit that only works for 15 seconds and then goes into cooldown etc-

How could I do that? It has to work even if the player has empty hands or a weapon in hand etc-

Active 1 month ago
Joined May 2021
Points:
827

User statistics:

  • Modifications: 4
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 353
For a weapon or an item in…
Thu, 09/08/2022 - 01:46

For a weapon or an item in main hand ... go to triggers -> When living entity is hit with tool,

then in add the block - >  Set (Event/target entity) on fore for (desired amount) seconds

 

Save and test.

Active 1 month ago
Joined May 2021
Points:
827

User statistics:

  • Modifications: 4
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 353
For cooldown ... only the…
Thu, 09/08/2022 - 01:49

For cooldown ... only the weapon (not for the item), reduce the attack speed until happy with results.