Durability Queries Don't Work In Resource Packs
When attempting to make animations, render controllers, etc. Using the query.remaining_durability or query.max_durability queries, the queries always return 0, despite held items having some durability.
Steps To Reproduce:
- Download, install and start a world with the supplied pack
- Hold any durable item, go into third person and observe nothing strange
- Go into the players resource file and in animate -> Durability Bug, change the comments so that the durability test equal to 0 us uncommented
- Reload and observe that when holding any item (durable or not, even no item) you'll begin to constantly spin forwards
Expected Behavior:
- Durability queries work in resource packs
Actual Behavior:
- Durability queries always return 0 in resource packs
2021-03-02, 06:47 AM
2024-08-18, 12:26 PM
2024-08-18, 12:26 PM
7
5
784640
QueryResult, add-on, durability, query, resource-pack
1.18.10.27 Beta - 1.20.41 Hotfix
1.18.10.27 Beta, 1.18.10.26 Beta, 1.18.0.24 Beta, 1.18.0.22 Beta, 1.18.0.20 Beta, 1.17.40.23 Beta, 1.17.40.20 Beta, 1.17.30.24 Beta, 1.17.30.23 Beta, 1.17.30.22 Beta, 1.17.30.21 Beta, 1.17.30.20 Beta, 1.17.11 Hotfix, 1.17.20.22 Beta, 1.17.20.21 Beta, 1.17.10, 1.17.10.23 Beta, 1.17.1 Hotfix, 1.17.10.20 Beta, 1.17.0.58 Beta, 1.17.0.56 Beta, 1.17.0.54 Beta, 1.17.0.52 Beta, 1.17.0.50 Beta, 1.16.230.56 Beta, 1.16.230.54 Beta, 1.16.220, 1.16.230.50 Beta, 1.16.220.52 Beta, 1.16.220.51 Beta, 1.16.220.50 Beta, 1.16.210.61 Beta, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.0, 1.18.2 Hotfix, 1.18.30.33 Preview, 1.18.12 Hotfix, 1.19.20.24 Preview, 1.19.11 Hotfix, 1.19.63, 1.20.50.22 Preview, 1.20.50.23 Preview, 1.20.41 Hotfix
-