I'm trying to use the query function query.above_top_solid in the following molang:
"q.position(1) == query.above_top_solid(q.position(0), q.position(2))"
It's being used to determine when to transition to another state, but I get the following error on the content log:
"[Molang][error]-Survival W/ Ambience + Eclipse |
C:/Users/(user)/AppData/Local/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/behavior_packs/Eclipse B/animation.controllers/player.json | animation.controllers | controller.animation.highestsolid | states | highestsolid | transitions | default | q.position(1) == query.above_top_solid(q.position(0), q.position(2)) | unrecognized token: query.above_top_solid(q.position(0), q.position(2))"
I'm trying to detect when there are no solid blocks above a player, but this error returns when I try to do so.
You can reproduce this by creating an addon with an animation controller using the query.above_top_solid query function to determine when it transitions.
Edit: The error was received when no experimental features were active and when all experimental features were active.
Attachments
Comments 7

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm, affects 1.20.80.20.
To reproduce, simply load the attached add-on to a world with the Content Log GUI enabled.
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – Feature Requests and Suggestions
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki