Package | Description |
---|---|
net.tridentsdk.server.world |
Implements classes in the package
net.tridentsdk.world .* package |
net.tridentsdk.world |
World access: Chunks, dimensions, and loading, and world generation
|
net.tridentsdk.world.settings |
Contains enum types describing the properties of a world
|
Modifier and Type | Method and Description |
---|---|
WorldCreateOptions |
TridentWorldLoader.options() |
Modifier and Type | Method and Description |
---|---|
static WorldSettings |
TridentWorldSettings.load(TridentWorld world,
WorldCreateOptions options) |
Constructor and Description |
---|
TridentWorldLoader(WorldCreateOptions opt) |
Modifier and Type | Method and Description |
---|---|
WorldCreateOptions |
WorldLoader.options()
Options used for creating the world
|
Modifier and Type | Method and Description |
---|---|
WorldCreateOptions |
WorldCreateOptions.difficulty(Difficulty difficulty)
Sets the difficulty of the world to be generated
|
WorldCreateOptions |
WorldCreateOptions.dimension(Dimension dimension)
Sets the dimension for the world generator
|
WorldCreateOptions |
WorldCreateOptions.gameMode(GameMode gameMode)
Sets the gamemode of the world to be generated
|
WorldCreateOptions |
WorldCreateOptions.generator(Class<? extends ChunkGenerator> generator)
Uses the specified generator to generate chunks in the world
|
WorldCreateOptions |
WorldCreateOptions.level(LevelType levelType)
Sets the leveltype of the world to be generated
|
WorldCreateOptions |
WorldCreateOptions.pvp(boolean enable)
Sets the PvP enabled flag
|
WorldCreateOptions |
WorldCreateOptions.rule(GameRule rule,
GameRule.Value value)
Sets the game rules of the world to be generated
|
WorldCreateOptions |
WorldCreateOptions.seed(long seed)
Sets the seed used to generate the world
|
WorldCreateOptions |
WorldCreateOptions.seed(String seed)
Sets the seed used to generate the world
|
WorldCreateOptions |
WorldCreateOptions.structures(boolean gen)
Sets whether or not to generate structures (caves, villages, etc)
|
Copyright © 2016. All rights reserved.