跳转至

PlayerIterator

文档版本:1.21.0.24

PlayerIterator类,实现了Iterator<Player>。script_api.mojang-minecraft.playeriterator.description

方法

[Symbol.iterator]

script_api.mojang-minecraft.playeriterator.[symbol.iterator].description

[Symbol.iterator](): Iterator<Player>
返回值:Iterator<Player>
script_api.mojang-minecraft.playeriterator.[symbol.iterator].return
next

script_api.mojang-minecraft.playeriterator.next.description

next(): IteratorResult<Player>
返回值:IteratorResult<Player>
script_api.mojang-minecraft.playeriterator.next.return