teleport damege

Started by AI50God on Mon, 11/02/2020 - 17:23

Topic category: Help with modding (Java Edition)

Last seen on 06:40, 6. Mar 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
teleport damege
Mon, 11/02/2020 - 17:23

Hello. I can't speak English.
So I ask a question using Google Translate.
I made a teleport where the player moves forward 10 spaces.
However, at the same time, I want the monster to take damage if it is within the teleport range.
What should I do?
Any help would be appreciated.

Last seen on 22:49, 17. Mar 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Deal X damage to all…
Tue, 11/03/2020 - 18:35

Deal X damage to all entities of type Y within range Z. 99% sure they added a block for that in one of the recent updates.