Package | Description |
---|---|
net.tridentsdk |
Primary server access to properties provided by the API
|
net.tridentsdk.server.packets.play.out |
Packets related to the gameplay of the server sent from the server
|
net.tridentsdk.server.world |
Implements classes in the package
net.tridentsdk.world .* package |
net.tridentsdk.world.settings |
Contains enum types describing the properties of a world
|
Modifier and Type | Field and Description |
---|---|
static Difficulty |
Defaults.DIFFICULTY
The difficulty of the game
|
Modifier and Type | Field and Description |
---|---|
protected Difficulty |
PacketPlayOutServerDifficulty.difficulty |
protected Difficulty |
PacketPlayOutJoinGame.difficulty |
Modifier and Type | Method and Description |
---|---|
Difficulty |
PacketPlayOutServerDifficulty.difficulty() |
Difficulty |
PacketPlayOutJoinGame.difficulty() |
Modifier and Type | Method and Description |
---|---|
Difficulty |
TridentWorldSettings.difficulty() |
Modifier and Type | Method and Description |
---|---|
void |
TridentWorldSettings.setDifficulty(Difficulty difficulty) |
Modifier and Type | Method and Description |
---|---|
Difficulty |
WorldSettings.difficulty()
Gets the difficulty set in a world
|
Difficulty |
WorldCreateOptions.difficulty()
Obtains the difficulty of the world created using these options
|
static Difficulty |
Difficulty.of(int i) |
static Difficulty |
Difficulty.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Difficulty[] |
Difficulty.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
WorldCreateOptions |
WorldCreateOptions.difficulty(Difficulty difficulty)
Sets the difficulty of the world to be generated
|
void |
WorldSettings.setDifficulty(Difficulty difficulty)
Sets the world difficulty
|
Copyright © 2016. All rights reserved.