Started by
Aksumite
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a mob and using the "when player collides with this entity" procedure event. Instead of giving the effect and damaging the player, it damages the mob that is supposed to be giving the effect and damage.
How do you fix this? Thanks!
You need to choose the right target, the Source Entity, or the Event/Target Entity. In 2020.3 you need to do that in order to have more complex procedures in general.
How do you choose the right target? Or do you mean put the procedure on the player instead?
In the Minecraft Components section, there is a source entity block, and a event/target entity block. Choose the one that is not already in your procedure. (Please include a picture of your procedure so I can help better)
Ah I see, I just wasn't sure where to find that block. All the procedure had was a "damage entity block". Thanks :D