-
Bug
-
Resolution: Incomplete
-
None
-
1.14.30 Hotfix
-
None
-
Unconfirmed
-
Windows
I have started playing around with Scripting in the Bedrock edition recently.
Currently, I am trying to track arrows using filtered queries. The example in the documentation works great.
However I am attempting to execute this query:
let arrow_query = {}; server.initialize = function() { arrow_query = this.registerQuery(); // First attempted "minecraft:player_arrow" with same result this.addFilterToQuery(arrow_query, "minecraft:projectile"); } server.update = function() { let arrows = this.getEntitiesFromQuery(arrow_query); }
In the game text chat, the same message appears multiple times per tick:
"Script Warning: Something went wrong..."
I do not believe that there is anything wrong with my query, and I thought that the query worked with component groups as well. Overall I'm not too sure what the issue is here due to the minimal error logging available at the moment.