attacking with fist

Started by TZO_Ghoul on

Topic category: User side tutorials

Last seen on 22:41, 17. Apr 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
attacking with fist

so what i need is when I have a certain potion effect,and if i attack something it will give that entity instant damage (i use the block coding)

Last seen on 13:50, 6. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just use the global trigger …
Fri, 09/18/2020 - 16:53

Just use the global trigger "when entity attacked", then you check if the sourceentity has your potion effect, and if it has it, then you apply instant damage to event/target entity

Last seen on 22:41, 17. Apr 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ive been trying it for so…
Fri, 09/18/2020 - 23:51

ive been trying it for so long, but i never used source entity ive always been using attack target of entity