#molang tutorial
1 messages · Page 1 of 1 (latest)
Molang Queries are used to test whenever a condition/query is true or false (!), they can also detect whenever they have a certain value using ==
example :
"sneak_test": "query.is_sneaking"
this will return as true when the player is sneaking
"condition": "query.variant == 3"
this condition will return true when the variant of the mob is 3
You can find most of things about molang in https://learn.microsoft.com/en-us/minecraft/creator/reference/content/molangreference/
You can test how it works in https://bridge-core.github.io/molang-playground/