MoripaFishing
Toggle table of contents
VersionPlaceholder
jvm
Platform filter
jvm
Switch theme
Search in API
MoripaFishing
api
/
party.morino.moripafishing.api.config.world
Package-level
declarations
Types
Types
Spawn
Config
Link copied to clipboard
@
Serializable
data
class
SpawnConfig
(
val
spawnMobs
:
Boolean
=
false
,
val
spawnMonsters
:
Boolean
=
false
,
val
spawnAnimals
:
Boolean
=
false
,
val
receiveDamage
:
Boolean
=
false
)
スポーン関連の設定を管理するクラス
World
Config
Link copied to clipboard
@
Serializable
data
class
WorldConfig
(
val
defaultId
:
@
Serializable
(
with
=
FishingWorldIdSerializer::class
)
FishingWorldId
=
FishingWorldId("default")
,
val
spawnConfig
:
SpawnConfig
=
SpawnConfig()
,
val
defaultWorldSize
:
Double
=
100.0
,
val
defaultClimateConfig
:
ClimateConfig
=
ClimateConfig()
,
val
refreshInterval
:
Int
=
60
,
val
defaultTimeZone
:
String
=
"Asia/Tokyo"
)
World
Detail
Config
Link copied to clipboard
@
Serializable
data
class
WorldDetailConfig
(
val
id
:
@
Serializable
FishingWorldId
=
FishingWorldId("default")
,
val
name
:
String
=
"つりとぴあ"
,
val
borderSize
:
Double
?
=
null
,
val
borderCentral
:
Pair
<
Double
,
Double
>
=
Pair(0.0, 0.0)
,
val
spawnLocation
:
Location
=
Location(id, 0.0, 64.0, 0.0, 90.0, 0.0)
,
val
climateConfig
:
ClimateConfig
?
=
null
,
val
generator
:
GeneratorId
=
GeneratorId("void")
)