实验性
只读
实验性
block只读
实验性
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.
实验性
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.
Represents a block that can display text on it.
示例: addSign.ts
示例: addTwoSidedSign.ts
示例: updateSignText.ts
示例: addTranslatedSign.ts