Skip to content

@minecraft/server


@minecraft/server / RawText

Interface: RawText ​

Defined in: @minecraft/server/index.d.ts:24630

A RawMessage with only the rawtext property. When a RawMessage is serialized the contents are put into a rawtext property, so this is useful when reading saved RawMessages. See BlockSignComponent.setText and BlockSignComponent.getRawText for examples.

Properties ​

rawtext? ​

optional rawtext?: RawMessage[]

Defined in: @minecraft/server/index.d.ts:24636

Remarks ​

A serialization of the current value of an associated sign.