Sweeping kills don't count towards kills

Started by Dokneso on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 17:53, 11. Sep 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sweeping kills don't count towards kills

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.

Last seen on 16:02, 10. Oct 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in what MCreator version? I…
Tue, 07/23/2024 - 21:18

in what MCreator version? I tried and it counts it

Last seen on 17:53, 11. Sep 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm using MCreator 2024.2,…
Wed, 07/24/2024 - 17:00

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.

Last seen on 16:02, 10. Oct 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you send a screenshot…
Wed, 07/24/2024 - 17:30

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  

Last seen on 17:53, 11. Sep 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I know my mistake. It's…
Wed, 07/24/2024 - 19:10

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.

Last seen on 16:02, 10. Oct 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright 
Wed, 07/24/2024 - 19:17

Alright