Started by
RandomDrago
on
Topic category: Help with Minecraft modding (Java Edition)
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-
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.
For cooldown ... only the weapon (not for the item), reduce the attack speed until happy with results.