ScreenDisplay
¶
文档版本:1.21.60.21
ScreenDisplay
类。script_api.minecraft/server.screendisplay.description
方法¶
isValid
script_api.minecraft/server.screendisplay.isvalid.description
- 返回值:
boolean
- script_api.minecraft/server.screendisplay.isvalid.return
setActionBar
script_api.minecraft/server.screendisplay.setactionbar.description
text
:(RawMessage | string)[]
|RawMessage
|string
- script_api.minecraft/server.screendisplay.setactionbar.text.description
- 返回值:
void
- script_api.minecraft/server.screendisplay.setactionbar.return
setTitle
script_api.minecraft/server.screendisplay.settitle.description
title
:(RawMessage | string)[]
|RawMessage
|string
- script_api.minecraft/server.screendisplay.settitle.title.description
options
?:TitleDisplayOptions
=null
- script_api.minecraft/server.screendisplay.settitle.options.description
- 返回值:
void
- script_api.minecraft/server.screendisplay.settitle.return
updateSubtitle
script_api.minecraft/server.screendisplay.updatesubtitle.description
subtitle
:(RawMessage | string)[]
|RawMessage
|string
- script_api.minecraft/server.screendisplay.updatesubtitle.subtitle.description
- 返回值:
void
- script_api.minecraft/server.screendisplay.updatesubtitle.return