Interface WorldTemplate
- All Superinterfaces:
DataHolder
,DataPackEntry<WorldTemplate>
,DataSerializable
,Keyed
,ResourceKeyed
,ValueContainer
A template for a
ServerWorld
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
Nested classes/interfaces inherited from interface org.spongepowered.api.data.DataHolder
DataHolder.Immutable<I extends DataHolder.Immutable<I>>, DataHolder.Mutable
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorldTemplate.Builder
static WorldTemplate.Builder
builder()
commands()
default Optional
<Difficulty> gameMode()
default ChunkGenerator
hardcore()
default boolean
static WorldTemplate
static WorldTemplate
default boolean
pvp()
seed()
default Optional
<SerializationBehavior> static WorldTemplate
theEnd()
static WorldTemplate
default WorldType
Methods inherited from interface org.spongepowered.api.datapack.DataPackEntry
pack
Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainer
Methods inherited from interface org.spongepowered.api.ResourceKeyed
key
-
Method Details
-
overworld
-
overworldCaves
-
theNether
-
theEnd
-
builder
-
displayName
-
worldType
-
generator
-
gameMode
-
difficulty
-
serializationBehavior
-
loadOnStartup
default boolean loadOnStartup() -
performsSpawnLogic
default boolean performsSpawnLogic() -
hardcore
-
commands
-
pvp
-
viewDistance
-
spawnPosition
-
seed
-
createDragonFight
-
asBuilder
-