Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the entity's heartbeat.
Heartbeat Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| interval | 1.00 | String | A Molang expression defining the inter-beat interval in seconds. A value of zero or less means no heartbeat. | Warden: "2.0 - math.clamp(query.anger_level / 80 * 1.5, 0, 1.5)" |
| sound_event | heartbeat | Minecraft Event Trigger | Level sound event to be played as the heartbeat sound. |
Samples
Warden
"minecraft:heartbeat": {
"interval": "2.0 - math.clamp(query.anger_level / 80 * 1.5, 0, 1.5)"
}