Interface WorldTemplate
- All Superinterfaces:
DataPackSerializable
,DataSerializable
,Keyed
,ResourceKeyed
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorldTemplate.Builder
static WorldTemplate.Builder
builder()
commands()
gameMode()
hardcore()
boolean
static WorldTemplate
static WorldTemplate
boolean
pvp()
static WorldTemplate
theEnd()
static WorldTemplate
Methods inherited from interface org.spongepowered.api.datapack.DataPackSerializable
type
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
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
-