Package | Description |
---|---|
net.tridentsdk.world.settings |
Contains enum types describing the properties of a world
|
Modifier and Type | Method and Description |
---|---|
static GameRule |
GameRule.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameRule[] |
GameRule.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Map<GameRule,GameRule.Value> |
WorldCreateOptions.gameRules() |
Modifier and Type | Method and Description |
---|---|
boolean |
WorldCreateOptions.isRule(GameRule rule,
GameRule.Value value)
Checks whether the rule is enabled
|
WorldCreateOptions |
WorldCreateOptions.rule(GameRule rule,
GameRule.Value value)
Sets the game rules of the world to be generated
|
Copyright © 2016. All rights reserved.