Interface WorldTemplate
- All Superinterfaces:
DataPackSerializable,DataSerializable,Keyed,ResourceKeyed
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault WorldTemplate.Builderstatic WorldTemplate.Builderbuilder()commands()gameMode()hardcore()booleanstatic WorldTemplatestatic WorldTemplatebooleanpvp()static WorldTemplatetheEnd()static WorldTemplateMethods inherited from interface org.spongepowered.api.datapack.DataPackSerializable
typeMethods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainerMethods inherited from interface org.spongepowered.api.ResourceKeyed
key
-
Method Details
-
overworld
-
overworldCaves
-
theNether
-
theEnd
-
builder
-
displayName
-
worldType
RegistryReference<WorldType> worldType() -
generator
ChunkGenerator generator() -
generationConfig
WorldGenerationConfig generationConfig() -
gameMode
Optional<RegistryReference<GameMode>> gameMode() -
difficulty
Optional<RegistryReference<Difficulty>> difficulty() -
serializationBehavior
Optional<SerializationBehavior> serializationBehavior() -
loadOnStartup
boolean loadOnStartup() -
performsSpawnLogic
boolean performsSpawnLogic() -
hardcore
-
commands
-
pvp
-
viewDistance
-
spawnPosition
-
asBuilder
-