Help with creating a Sonic Blast

Started by Grimlock on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with creating a Sonic Blast

So I'm creating a sonic blast like the warden, and I ran into a bit of a problem. I'm able to create the particles in a straight line with ease, but the problem comes when I try to damage an entity with it.

Here is my code. I'm not sure exactly why it doesn't damage any entities, but I'm not sure if its actually doing anything.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind, I was being…
Thu, 05/02/2024 - 01:47

Nevermind, I was being stupid. I was dealing damage to the event/target entity, and not the entity iterator.