scriptapi:modules:server:1.0.0:world

World

分類: クラス

マイクラのディメンションと環境を含むワールドの状態をラップしたクラスです。

メソッド

getAllPlayers

getAllPlayers(): Player[]

ワールド内のすべてのアクティブなプレイヤーの配列を返します。

パラメータ

なし

返却値

Player[]

getDimension

getDimension(dimensionId: string): Dimension;

ディメンションID(ディメンションタイプ)を指定してディメンションクラスのインスタンスを取得します。

パラメータ

返却値

scriptapi/modules/server/1.0.0/world.txt · 最終更新: 2023/07/03 18:57 by potchie

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki