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.
Methods
accumulatesSnow
accumulatesSnow():boolean
Returns boolean
Remarks
Returns true if falling snow will accumulate naturally on
the block. Returns false if snow will not accumulate on
the block.
Throws
This function can throw errors.
LocationInUnloadedChunkError
LocationOutOfWorldBoundariesError
obstructsRain
obstructsRain():boolean
Returns boolean
Remarks
Returns true if rain will not go through the block.
Returns false if rain should go through the block.
Represents a how a block interacts with precipitation (such as rain or snow).