ClimateConfig

@Serializable
data class ClimateConfig(val weather: WeatherPolicy = WeatherPolicy.Random(), val time: TimePolicy = TimePolicy.RealTime())

釣りワールドの気候 (天候と時刻) の方針。

コアは方針に従って値を決定するだけで、Bukkit ワールドへの適用は Integration が行う。 FishingWorldConfig.climate でワールドごとに上書きでき、未設定の場合は WorldConfig.defaultClimate を使う。

Constructors

Link copied to clipboard
constructor(weather: WeatherPolicy = WeatherPolicy.Random(), time: TimePolicy = TimePolicy.RealTime())

Properties

Link copied to clipboard

時刻の決め方

Link copied to clipboard

天候の決め方