Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-178975

Top Solid Query Not Working In Animation Controllers

XMLWordPrintable

    • Icon: Bug 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.

            mardymia MardyH1
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: