Defines what blocks this entity can breathe in and gives them the ability to suffocate.
Breathable Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| breathe_blocks | not set | Array of strings | List of blocks this entity can breathe in, in addition to the selected items above. | |
| breathes_air | true | Boolean true/false | If set, this entity can breathe in air. | |
| breathes_lava | true | Boolean true/false | If set, this entity can breathe in lava. | |
| breathes_solids | false | Boolean true/false | If set, this entity can breathe in solid blocks. | |
| breathes_water | false | Boolean true/false | If set, this entity can breathe in water. | Bogged: true |
| generates_bubbles | true | Boolean true/false | If set, this entity will have visible bubbles while in water. | |
| inhale_time | 0 | Decimal number | Time in seconds to recover breath to maximum. | |
| non_breathe_blocks | not set | Array of strings | List of blocks this entity cannot breathe in, in addition to the selected items above. | |
| suffocate_time | -20 | Integer number | Time in seconds between suffocation damage. | |
| suffocateTime | not set | Decimal number | ||
| total_supply | 15 | Integer number | Time in seconds the entity can hold its breath. | Bat: 15 |
| totalSupply | not set | Decimal number | Allay: 15 |
Samples
Allay
"minecraft:breathable": {
"suffocateTime": 0,
"totalSupply": 15
}
Bat
"minecraft:breathable": {
"suffocate_time": 0,
"total_supply": 15
}
Bogged
"minecraft:breathable": {
"breathes_water": true,
"suffocate_time": 0,
"total_supply": 15
}