Protected constructorReadonly breatheList of blocks this entity can breathe in, in addition to the separate properties for classes of blocks.
This property can throw when used.
Readonly breathesIf true, this entity can breathe in air.
This property can throw when used.
Readonly breathesIf true, this entity can breathe in lava.
This property can throw when used.
Readonly breathesIf true, this entity can breathe in solid blocks.
This property can throw when used.
Readonly breathesIf true, this entity can breathe in water.
This property can throw when used.
Readonly generatesIf true, this entity will have visible bubbles while in water.
This property can throw when used.
Readonly inhaleTime in seconds to recover breath to maximum.
This property can throw when used.
Readonly nonList of blocks this entity can't breathe in.
This property can throw when used.
Readonly suffocateTime in seconds between suffocation damage.
This property can throw when used.
Readonly totalTime in seconds the entity can hold its breath.
This property can throw when used.
Readonly typeIdentifier of this component. Should always be minecraft:breathable.
Static Readonly componentIdentifier of this component. Should always be minecraft:breathable.
Defines what blocks this entity can breathe in and gives them the ability to suffocate.