Started by
Delangel
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, i just create a dash , but i want to deal damage to a mob or a player when i dash, the problem is that i'm get the damage and not the mob, what should i use?
In situations like this I always like to use this block: (You may need to set a timer/repeat block or something on it so it doesn't just execute at the starting point)
This block will execute code on any nearby entity. An "entity iterator" is any entity targeted by the main block so make sure you change the one on the damage block out for one of those. (You can find the block under the highlighted tab on the left in the image as you can't for some reason just copy it from the main block)