BlockSignComponent
¶
文档版本:1.21.60.21
BlockSignComponent
类,扩展自BlockComponent
。script_api.minecraft/server.blocksigncomponent.description
常量¶
componentId
属性¶
isWaxed
isWaxed
:boolean
- script_api.minecraft/server.blocksigncomponent.iswaxed.description
方法¶
getRawText
script_api.minecraft/server.blocksigncomponent.getrawtext.description
side
:SignSide
=0
- script_api.minecraft/server.blocksigncomponent.getrawtext.side.description
- 返回值:
RawText
|undefined
- script_api.minecraft/server.blocksigncomponent.getrawtext.return
getText
script_api.minecraft/server.blocksigncomponent.gettext.description
side
:SignSide
=0
- script_api.minecraft/server.blocksigncomponent.gettext.side.description
- 返回值:
string
|undefined
- script_api.minecraft/server.blocksigncomponent.gettext.return
getTextDyeColor
script_api.minecraft/server.blocksigncomponent.gettextdyecolor.description
side
:SignSide
=0
- script_api.minecraft/server.blocksigncomponent.gettextdyecolor.side.description
- 返回值:
DyeColor
|undefined
- script_api.minecraft/server.blocksigncomponent.gettextdyecolor.return
setText
script_api.minecraft/server.blocksigncomponent.settext.description
message
:RawMessage
|RawText
|string
- script_api.minecraft/server.blocksigncomponent.settext.message.description
side
:SignSide
=0
- script_api.minecraft/server.blocksigncomponent.settext.side.description
- 返回值:
void
- script_api.minecraft/server.blocksigncomponent.settext.return
setTextDyeColor
script_api.minecraft/server.blocksigncomponent.settextdyecolor.description
color
?:DyeColor
=null
- script_api.minecraft/server.blocksigncomponent.settextdyecolor.color.description
side
:SignSide
=0
- script_api.minecraft/server.blocksigncomponent.settextdyecolor.side.description
- 返回值:
void
- script_api.minecraft/server.blocksigncomponent.settextdyecolor.return
setWaxed
script_api.minecraft/server.blocksigncomponent.setwaxed.description
waxed
:boolean
- script_api.minecraft/server.blocksigncomponent.setwaxed.waxed.description
- 返回值:
void
- script_api.minecraft/server.blocksigncomponent.setwaxed.return