Readonly
blockReadonly
isReadonly
typeStatic
Readonly
componentThe message to set on the sign. If set to a string, then
call getText
to read that string. If set to a RawMessage,
then calling getRawText
will return a RawText. If set to a
RawText, then calling getRawText
will return the same
object that was passed in.
Optional
side: SignSideThe side of the sign the message will be set on. If not provided, the message will be set on the front side of the sign.
Represents a block that can display text on it.
Example: addSign.ts
Example: addTwoSidedSign.ts
Example: updateSignText.ts
Example: addTranslatedSign.ts