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

query.get_ride does not seem to work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.16.200.52 Beta
    • None
    • Plausible
    • Windows

      according to the official molang documentation, query.get_ride is supposed to return the entity the entity executing it is riding. however, it appears to not work in bp anim controllers

       

      for example:

      "controller.animation.horse_test": {
          "initial_state": "default",
          "states": {
              "default": {
                  "transitions": [
                      {
                          "horse": "query.get_ride == 'minecraft:horse'"
                      }
                  ]
              },
              "horse": {
                  "on_entry": [
                      "/say hello"
                  ],
                  "transitions": [
                      {
                          "default": "query.get_ride != 'minecraft:horse'"
                      }
                  ]
              }
          }
      }
      

       this bp anim controller should theoretically make the player say "hello" when it's riding a horse, however it doesnt work as intended

            anightdazingzoroark Lilac Kitsune
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: