Mojira Archive
MCPE-178975

Top Solid Query Not Working In Animation Controllers

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.

Unresolved

MardyH1

2024-02-17, 11:06 PM

2024-03-05, 02:19 PM

2

0

Community Consensus

1.20.62 Hotfix, 1.20.80.20 Preview

-