Can some one teach me how to area damage or entity things

Started by V0Kerem on

Topic category: Help with modding (Java Edition)

Last seen on 11:55, 23. Apr 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can some one teach me how to area damage or entity things

İ'want to make growing area damage from floor someone can help ?

Last seen on 10:38, 22. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use an 'entity iterator'…
Sun, 10/01/2023 - 14:10

Use an 'entity iterator' bracket, which you can find in the world management tab. (It should also take a radius.) Entity iterators run a procedure, but apply it to every entity within a cube. (If you really want it to be a radial circle effect, there's some annoying math you can do to get that working.) 

Just keep in mind that any 'event/target entity' blocks that you put inside the entity iterator need to be replaced with 'entity iterator.' (This way it targets each entity in the radius, not the entity that triggered the procedure.)