mojira.dev
MCPE-40437

[Scripting API] getEntitiesFromQuery with position component filter spams script warnings when entity items exist

Expected behavior: code working by filtering out non matching entities without spamming ingame when using filter in query

Actual behavior: game spammed with script warning messages when items tossed onto ground instead

Details:

When using a query that includes the minecraft:position component as a filter, you get "Script Warning: Something went wrong..." messages when running getEntitiesFromQuery for that query.

Works great for normal living entities, but as soon as you toss an item down the issue happens, can't seem to debug it any further as I don't get any logs in the logs folder nor can I debug warnings via VS attaching to process afaik.

Example stripped down script:

https://gist.github.com/Corosauce/251f16e385f744ad53e40d30f96fe3b2

 Screenshot:

[media]

Linked issues

Attachments

Comments 1

Cleaning up old tickets: This ticket has not been updated recently (~1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

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

Kevin Gagnon

(Unassigned)

166316

Unconfirmed

Windows

Windows 10

1.9.0.3 Beta

Retrieved