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

query.armor_color_slot crashes the game when used in resource packs

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • 1.16.210.50 Beta, 1.16.200.56 Beta, 1.16.100, 1.16.200
    • 1.17.30.21 Beta, 1.17.30
    • None
    • Confirmed
    • Multiple
    • 437755

    Description

      Description: The query.armor_color_slot query, when used in any animation, entity file, render controller, etc outside of vanilla instances, will immediately crash the game when a player uses a resource pack with it and attempts to load into a world. This has been an issue since 1.16.100.51 and made its way to the full release. This needs to be fixed asap!

      Below I have attached a sample resource pack to showcase the bug. I added an overlay color to the alpha channel set to return a value based on this query. Another instance in which I used it in the sample resource pack is to tell a cape render controller to render from the player entity file

      Expected Results: using the query.armor_color_slot query with its additional arguments works properly in resource packs. It worked fine in 1.16.40.

      Actual Results: any instance in which query.armor_color_slot is used in a resource pack, the game immediately hard crashes.

      This seems to be fixed in the 1.16.200.57 beta, but NOT the 1.16.210.50 beta.
      Nevermind, it happens in both betas.

      Attachments

        Activity

          People

            ambient ambient
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              CHK: