Beta Protected constructorReadonly 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 Beta entityThe entity that owns this component.
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 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 the component.
Static Readonly componentIdentifier of this component. Should always be minecraft:breathable.
List of blocks this entity can breathe in, in addition to the separate properties for classes of blocks.
This function can throw errors.
List of blocks this entity can't breathe in.
This function can throw errors.
Defines what blocks this entity can breathe in and gives them the ability to suffocate.