Mojira Archive
MC-261207

non-working conditions in achievements (1.19.4)

Non-working condition in a custom datapack:

"trigger": "minecraft:player_hurt_entity"
"is_projectile": false

 
'"is_projectile": false' does not work only in 1.19.4!
That is, I installed a datapack with two achievements: dealing damage with the source "direct_entity:#arrows, is_projectile:true", and dealing damage with the source "is_projectile=false"

What is happening in 1.19.3...:
When any mob is hurted with bow, game giving the "bow" achievement

What actually happened was...:
When any mob is hurted with bow, game giving the "bow" achievement
AND
"not_bow" achievement

Steps to Reproduce:
1. create a datapack with achievement given for a shot in the mob and achievement given for a hit the mob, but not by #minecraft:arrows
2. shoot the mob from the bow
3. you get achievements: "bow" and "not bow", Instead of only one achievement: "bow"

Works As Intended

armedwings

2023-03-22, 07:16 PM

2023-12-19, 03:05 AM

2023-12-19, 03:05 AM

0

2

Unconfirmed

1.19.4

-