只读
block只读
预览版
is只读
is只读
type静态
只读
component可选
side: SignSideThe side of the sign to read the message from. If not provided, this will return the message from the front side of the sign. Defaults to: 0
世界修改
The 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.
可选
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. Defaults to: 0
Represents a block that can display text on it.
示例: addSign.ts
示例: addTwoSidedSign.ts
示例: updateSignText.ts
示例: addTranslatedSign.ts