This property can't be read in early-execution mode.
ReadonlygeneratesBubbles
generatesBubbles:boolean
Remarks
If true, this entity will have visible bubbles while in
water.
Throws
This property can throw when used.
World Ready
This property can't be read in early-execution mode.
ReadonlyinhaleTime
inhaleTime:number
Remarks
Time in seconds to recover breath to maximum.
Throws
This property can throw when used.
World Ready
This property can't be read in early-execution mode.
ReadonlyisValid
isValid:boolean
Remarks
Returns whether the component is valid. A component is
considered valid if its owner is valid, in addition to any
addition to any additional validation required by the
component.
World Ready
This property can't be read in early-execution mode.
ReadonlysuffocateTime
suffocateTime:number
Remarks
Time in seconds between suffocation damage.
Throws
This property can throw when used.
World Ready
This property can't be read in early-execution mode.
ReadonlytotalSupply
totalSupply:number
Remarks
Time in seconds the entity can hold its breath.
Throws
This property can throw when used.
World Ready
This property can't be read in early-execution mode.
ReadonlytypeId
typeId:string
Remarks
Identifier of the component.
World Ready
This property can't be read in early-execution mode.
Defines what blocks this entity can breathe in and gives them the ability to suffocate.
Example: pigBreathable.js