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.
ReadonlytypeId
typeId:string
Remarks
Identifier of the component.
ReadonlybreathesAir
breathesAir:boolean
Remarks
If true, this entity can breathe in air.
Throws
This property can throw when used.
ReadonlybreathesLava
breathesLava:boolean
Remarks
If true, this entity can breathe in lava.
Throws
This property can throw when used.
ReadonlybreathesSolids
breathesSolids:boolean
Remarks
If true, this entity can breathe in solid blocks.
Throws
This property can throw when used.
ReadonlybreathesWater
breathesWater:boolean
Remarks
If true, this entity can breathe in water.
Throws
This property can throw when used.
ReadonlygeneratesBubbles
generatesBubbles:boolean
Remarks
If true, this entity will have visible bubbles while in
water.
Defines what blocks this entity can breathe in and gives them the ability to suffocate.