-
Bug
-
Resolution: Unresolved
-
None
-
1.20.62 Hotfix, 1.20.80.20 Preview
-
None
-
Community Consensus
-
Windows
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.