Started by
BananaHeadBoi
on
Topic category: Help with Minecraft modding (Java Edition)
When i make it so that when the bullet hits, it applies slowness to both players and entities
the problem is that it always affects me too, how do i fix this?
Did you use "when bullet hits player" event? If so, then I recommend you to change for "living entity" only - not sure if it works for players after that, but it should (they are living entities, in the end). And I get rid of this problem with my grenades after doing that.
You can alternatively use command after projectile hits the block, like "effect give @a[distance=..1] minecraft:slowness {duration + amplifier there}". This would work like splash potions in some way, at least with radius 1-2.
Alright, thanks for the help dude.