mojira.dev
MCPE-163451

GameTest Framework EntityQueryOptions has no constructor

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.

Attachments

Comments 3

EntityQueryOptions changed to Interface instead of Class

Use DeepL translation{+}{+}

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, could you please attach an example addon with which the issue can be observed?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

BedrockChallenges

(Unassigned)

Unconfirmed

Windows

1.19.31 Hotfix, 1.19.41

Retrieved