Started by
Dokneso
on
Topic category: Troubleshooting, bugs, and solutions
Killing an entity with a sweeping attack (the one that sweeping edge buffs) doesn't count towards kills when used in an item's on kill procedure.
Topic category: Troubleshooting, bugs, and solutions
Killing an entity with a sweeping attack (the one that sweeping edge buffs) doesn't count towards kills when used in an item's on kill procedure.
in what MCreator version? I tried and it counts it
I'm using MCreator 2024.2, Minecraft 2.20.1. I have an item (sword) that counts kills. I put 5 pigs in a hole close to each other and enchanted the item with sweeping 5. The weapon's damage was enough to kill every pig, but it only counted as 1 kill.
Could you send a screenshot of the procedure you're using? I made two procedures to do what you are trying and the pigs killed with sweeping attacks count as kills
Ok, I know my mistake. It's not a bug. I made it so that with each attack it checks if the entity is dead and then adds 1 kill to the weapon if it's true. It's not on a kill, it's on entity hit.
Alright