Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-119301

Durability Queries Don't Work In Resource Packs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed
    • Platform:
      Multiple

      Description

      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:

      1. Download, install and start a world with the supplied pack
      2. Hold any durable item, go into third person and observe nothing strange
      3. Go into the players resource file and in animate -> Durability Bug, change the comments so that the durability test equal to 0 us uncommented
      4. 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

        Attachments

          Activity

            People

            Reporter:
            Gruntastic Gruntastic
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: