Package eu.sculkpowered.server.world
Class World.Builder
java.lang.Object
eu.sculkpowered.server.world.World.Builder
- Enclosing interface:
World
Represents a world builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull GameMode
@NotNull World.Builder
defaultGameMode
(@NotNull GameMode defaultGameMode) @NotNull Dimension
@NotNull World.Builder
@NotNull ChunkGenerator
@NotNull World.Builder
generator
(@NotNull ChunkGenerator generator) @Nullable WorldLoader
loader()
@NotNull World.Builder
loader
(@Nullable WorldLoader loader) @Nullable String
name()
@NotNull World.Builder
@NotNull Position
@NotNull World.Builder
spawnPosition
(@NotNull Position position)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
-
name
-
dimension
-
dimension
-
generator
-
loader
-
loader
-
generator
-
spawnPosition
-
spawnPosition
-
defaultGameMode
-
defaultGameMode
-