ScreenDisplay
¶
文档版本:1.21.60.21
ScreenDisplay
类。script_api.minecraft/server.screendisplay.description
方法¶
getHiddenHudElements
script_api.minecraft/server.screendisplay.gethiddenhudelements.description
- 返回值:
HudElement[]
- script_api.minecraft/server.screendisplay.gethiddenhudelements.return
hideAllExcept
script_api.minecraft/server.screendisplay.hideallexcept.description
hudElements
?:HudElement[]
=null
- script_api.minecraft/server.screendisplay.hideallexcept.hudelements.description
- 返回值:
void
- script_api.minecraft/server.screendisplay.hideallexcept.return
isForcedHidden
script_api.minecraft/server.screendisplay.isforcedhidden.description
hudElement
:HudElement
- script_api.minecraft/server.screendisplay.isforcedhidden.hudelement.description
- 返回值:
boolean
- script_api.minecraft/server.screendisplay.isforcedhidden.return
isValid
script_api.minecraft/server.screendisplay.isvalid.description
- 返回值:
boolean
- script_api.minecraft/server.screendisplay.isvalid.return
resetHudElements
script_api.minecraft/server.screendisplay.resethudelements.description
- 返回值:
void
- script_api.minecraft/server.screendisplay.resethudelements.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
setHudVisibility
script_api.minecraft/server.screendisplay.sethudvisibility.description
visible
:HudVisibility
- script_api.minecraft/server.screendisplay.sethudvisibility.visible.description
hudElements
?:HudElement[]
=null
- script_api.minecraft/server.screendisplay.sethudvisibility.hudelements.description
- 返回值:
void
- script_api.minecraft/server.screendisplay.sethudvisibility.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