|HELP| Burn the target entity that is hit

Started by RandomDrago on Tue, 08/09/2022 - 16:07

Topic category: Help with modding (Java Edition)

Last seen on 04:20, 24. Aug 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
|HELP| Burn the target entity that is hit
Tue, 08/09/2022 - 16:07

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 02:31, 4. Oct 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 02:31, 4. Oct 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.