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

GameTest Framework EntityQueryOptions has no constructor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.19.31 Hotfix, 1.19.41
    • None
    • Unconfirmed
    • Windows

      The Issue:
      Running the code from the documentation creator page for getting entities causes an error.

      https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/mojang-minecraft/entityqueryoptions

      How to reproduce:

      1. Setup an empty test project for GameTest Framework and import EntityQueryOptions.
      2. Run the first line of code from the documentation page listed above, "const query = new mc.EntityQueryOptions();"
      3. An error is shown that there is, "No constructor for native class 'EntityQueryOptions'"

      Expected behavior:
      There should be a constructor for this class.

            BedrockChallenge BedrockChallenges
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: