Started by
dezocrt0707
on
Topic category: Help with Minecraft modding (Java Edition)
I know that I can make it so that when a player attacks an entity, effects are applied to it, but how can I make it so that I get a slowdown when I hit an entity with a sword?
Should be able to just make it check if source entity has item in hand = to item (sword) or you can check if it’s part of a custom item tag which has all applicable items in it and if true apply slowness/any effect you need it to this can also be applied to other items of course.