Procedure block doesn't work

Started by Timothaty on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure block doesn't work
Mon, 09/02/2024 - 14:49 (edited)

I've made a mine with custom explosion (because I wanted to make shrapnel and crater after explosion) but "for each entity at x y z in square cube size do:" procedure doesn't work. When I step up on a mine, the particles are spawning and sound plays but entities are not being damaged (including player).

Here's a procedure I've made:
https://imgur.com/QxZqZ6o

Sorry for my English.

Edited by Timothaty on Mon, 09/02/2024 - 14:49
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not sure, but I think in…
Tue, 09/03/2024 - 12:55

I'm not sure, but I think in the "for each entity as" you have to leave the entity iterator, then change the "deal 15 damage to" to the entity iterator as well, so it deals damage to the entity evaluated by the iterator and not the entity evaluated by the event trigger.

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much!!!! It's…
Sun, 09/08/2024 - 10:42

Thank you so much!!!! It's finally works!!! I really appreciate your help!!!