BetaPrivateconstructorReadonlyblockThis property can't be read in early-execution mode.
ReadonlyisReturns 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.
This property can't be read in early-execution mode.
ReadonlytypeThis property can't be read in early-execution mode.
Static ReadonlycomponentReturns a DynamicProperty that was stored with the provided key. Keys are unique to each content pack and cannot be used to retrieve dynamic properties set from other content packs. Returns undefined if the key was not found.
This function can't be called in early-execution mode.
Optionalvalue: string | number | boolean | Vector3Sets a dynamic property with the provided key and value. Keys are unique to each content pack and cannot be used to set dynamic properties for other content packs. Values can be either a Number, a String or a Vector3. Setting a property with an undefined value will remove it from the storage.
This function can't be called in restricted-execution mode.
This function can't be called in early-execution mode.
This function can't be called in early-execution mode.
Represents the dynamic properties of a block in the world. Only available with block entities. Up to 1KBytes of data can be stored per block entity in their dynamic properties storage.
Example: rememberPlayerInteraction.ts
Source