|HELP| Burn the target entity that is hit

Started by RandomDrago on

Topic category: Help with modding (Java Edition)

Last seen on 19:28, 16. Aug 2023
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
|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-

Last seen on 04:54, 16. Apr 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 04:54, 16. Apr 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.