ScoreboardObjective
¶
文档版本:1.21.60.21
ScoreboardObjective
类。script_api.mojang-minecraft.scoreboardobjective.description
属性¶
displayName
displayName
:string
- script_api.mojang-minecraft.scoreboardobjective.displayname.description
id
id
:string
- script_api.mojang-minecraft.scoreboardobjective.id.description
方法¶
getParticipants
script_api.mojang-minecraft.scoreboardobjective.getparticipants.description
- 返回值:
ScoreboardIdentity[]
- script_api.mojang-minecraft.scoreboardobjective.getparticipants.return
getScore
script_api.mojang-minecraft.scoreboardobjective.getscore.description
participant
:Entity
|ScoreboardIdentity
|string
- script_api.mojang-minecraft.scoreboardobjective.getscore.participant.description
- 返回值:
int32
|undefined
- script_api.mojang-minecraft.scoreboardobjective.getscore.return
getScores
script_api.mojang-minecraft.scoreboardobjective.getscores.description
- 返回值:
ScoreboardScoreInfo[]
- script_api.mojang-minecraft.scoreboardobjective.getscores.return