Molang Documentation - Experimental Query Functions
Welcome to the Experimental Entity Query functions.
Caution
Because these Entity Query functions are marked as Experimental, you must make sure the toggle Experimental Molang Features is active in order to use them. To learn how, visit Experimental Features in Minecraft: Bedrock Edition
Click here: Entity Query Functions to view what is currently available.
Name | Description |
---|---|
query.is_feeling_happy | (EXPERIMENTAL. Enable Sniffer to use.)Returns 1.0 if the entity is feeling happy, else it returns 0.0. |
query.is_rising | (EXPERIMENTAL. Enable Sniffer to use.)Returns 1.0 if the entity is rising, else it returns 0.0. |
query.is_scenting | (EXPERIMENTAL. Enable Sniffer to use.)Returns 1.0 if the entity is scenting, else it returns 0.0. |
query.is_searching | (EXPERIMENTAL. Enable Sniffer to use.)Returns 1.0 if the entity is searching, else it returns 0.0. |
query.is_spectator | (EXPERIMENTAL. Enable 'Spectator Mode' to use.) Returns 1.0 if the entity is spectator, else it returns 0.0. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for