Mojira Archive
MCPE-104624

query.get_ride does not seem to work

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

Cannot Reproduce

Lilac Kitsune

2020-11-02, 10:08 AM

2020-11-18, 03:48 PM

2020-11-18, 03:48 PM

0

0

Plausible

1.16.200.52 Beta

-