Molang’s query “query.hurt_time” doesn’t work correctly.
When used in a resource pack’s animation controller “query.hurt_time” seems to always returns 0.
-Step to reproduce:
1 Create a behavior pack's animation controller like the attached one.
2 Link it with your entity.
-Expected result: The entity when hurt plays his animation for 30s/600 ticks and then stops.
-Observed result: The entity never plays the hurt’s animations even when I hurt It. when I remove “&& query.hurt_time != 0” the entity plays the animation without being hurt but never stops.
2024-07-15, 05:36 PM
2024-12-04, 12:47 PM
2024-12-04, 12:47 PM
1
3
-