Started by
Timothaty
on
Topic category: Help with modding (Java Edition)
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
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.
Thank you so much!!!! It's finally works!!! I really appreciate your help!!!