Interface WorldTemplate.Builder
-
- All Superinterfaces:
Buildable.Builder<WorldTemplate>
,Builder<WorldTemplate,WorldTemplate.Builder>
,CopyableBuilder<WorldTemplate,WorldTemplate.Builder>
,ResettableBuilder<WorldTemplate,WorldTemplate.Builder>
,ResourceKeyedBuilder<WorldTemplate,WorldTemplate.Builder>
- Enclosing interface:
- WorldTemplate
public static interface WorldTemplate.Builder extends ResourceKeyedBuilder<WorldTemplate,WorldTemplate.Builder>, CopyableBuilder<WorldTemplate,WorldTemplate.Builder>
-
-
Method Summary
-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
-
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
-
-
-
Method Detail
-
displayName
WorldTemplate.Builder displayName(@Nullable Component displayName)
-
worldType
WorldTemplate.Builder worldType(RegistryReference<WorldType> type)
-
generator
WorldTemplate.Builder generator(ChunkGenerator generator)
-
generationConfig
WorldTemplate.Builder generationConfig(WorldGenerationConfig generationConfig)
-
gameMode
WorldTemplate.Builder gameMode(RegistryReference<GameMode> gameMode)
-
difficulty
WorldTemplate.Builder difficulty(RegistryReference<Difficulty> difficulty)
-
serializationBehavior
WorldTemplate.Builder serializationBehavior(@Nullable SerializationBehavior behavior)
-
loadOnStartup
WorldTemplate.Builder loadOnStartup(boolean loadOnStartup)
-
performsSpawnLogic
WorldTemplate.Builder performsSpawnLogic(boolean performsSpawnLogic)
-
hardcore
WorldTemplate.Builder hardcore(@Nullable Boolean hardcore)
-
commands
WorldTemplate.Builder commands(@Nullable Boolean commands)
-
pvp
WorldTemplate.Builder pvp(@Nullable Boolean pvp)
-
viewDistance
WorldTemplate.Builder viewDistance(@Nullable Integer distance)
-
spawnPosition
WorldTemplate.Builder spawnPosition(@Nullable Vector3i position)
-
-