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

Biome Queries Don't Work For Blocks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.16.230.54 Beta, 1.16.220, 1.16.230.50 Beta, 1.16.220.52 Beta, 1.16.210
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed
    • Platform:
      Multiple

      Description

      When attempting to run either q.biome_has_any_tag or q.biome_has_all_tags from a block, the result is always 0. In the documentation it says they can take no coordinates and assume an entity relative position, while blocks aren't entities, the queries should take the blocks current position and use that.

       

      Steps to Reproduce:

      1. Setup a block to run a command when placed in a biome with the plains tag like the attached file.
      2. Place the block in a plains biome
      3. The command will not run

      Expected Results:

      • Blocks can use biome queries

      Actual Results:

      • biome queries run from blocks return false no matter what

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: