public final class LevelInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
private Difficulty |
difficulty |
private GameMode |
gameMode |
private GameRules |
gameRules |
private GeneratorOptions |
generatorOptions |
private boolean |
hardcore |
private String |
name |
private boolean |
structures |
| Constructor and Description |
|---|
LevelInfo(String name,
GameMode gameMode,
boolean bool,
Difficulty difficulty,
boolean bool2,
GameRules gameRules,
GeneratorOptions generatorOptions) |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
getDifficulty() |
GameMode |
getGameMode() |
GameRules |
getGameRules() |
GeneratorOptions |
getGeneratorOptions() |
String |
getLevelName() |
boolean |
hasStructures() |
boolean |
isHardcore() |
LevelInfo |
method_28381(Difficulty difficulty) |
LevelInfo |
method_28382(GameMode gameMode) |
static LevelInfo |
method_28383(com.mojang.serialization.Dynamic<?> dynamic,
GeneratorOptions generatorOptions) |
LevelInfo |
method_28385() |
private final String name
private final GameMode gameMode
private final boolean structures
private final Difficulty difficulty
private final boolean hardcore
private final GameRules gameRules
private final GeneratorOptions generatorOptions
public LevelInfo(String name, GameMode gameMode, boolean bool, Difficulty difficulty, boolean bool2, GameRules gameRules, GeneratorOptions generatorOptions)
public static LevelInfo method_28383(com.mojang.serialization.Dynamic<?> dynamic, GeneratorOptions generatorOptions)
public String getLevelName()
public GameMode getGameMode()
public boolean hasStructures()
public Difficulty getDifficulty()
public boolean isHardcore()
public GameRules getGameRules()
public GeneratorOptions getGeneratorOptions()
public LevelInfo method_28381(Difficulty difficulty)
public LevelInfo method_28385()