目次

World

分類: クラス

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

メソッド

getAllPlayers

getAllPlayers(): Player[]

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

パラメータ

なし

返却値

Player[]

getDimension

getDimension(dimensionId: string): Dimension;

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

パラメータ

返却値

Dimension