FishingWorld

interface FishingWorld

定義済み (設定ファイルが存在する) 釣りワールドの読み取り専用ビュー。

対応する Bukkit ワールドが未ロードでも存在する。ロード済みかどうかは Bukkit.getWorld(getWorldKey()) で判定する。 設定の変更は WorldManager.updateWorldConfig で行う。

Functions

Link copied to clipboard

現在の設定 (不変スナップショット) を返す。任意のスレッドから呼べる。

Link copied to clipboard
abstract fun getId(): FishingWorldId

ワールド ID を返す。

Link copied to clipboard
abstract fun getWeather(): WeatherType

魚の抽選条件に使う現在の天候を返す。任意のスレッドから呼べる。

Link copied to clipboard
abstract fun getWorldKey(): Key

対応する Bukkit ワールドのキーを返す。 管理ワールドは moripafishing:<id>、外部ワールドは WorldBinding.External.key。