mojira.dev
MCPE-184179

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.

Attachments

Comments 2

Please attach the full behavior pack/add-on.

yoyolerigolo

(Unassigned)

Unconfirmed

Windows

Windows 10

1.21.2 Hotfix

Retrieved