public final class LevelInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
private Difficulty |
difficulty |
private DataPackSettings |
field_25403 |
private GameMode |
gameMode |
private GameRules |
gameRules |
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,
DataPackSettings dataPackSettings) |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
getDifficulty() |
GameMode |
getGameMode() |
GameRules |
getGameRules() |
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,
DataPackSettings dataPackSettings) |
LevelInfo |
method_28385() |
LevelInfo |
method_29557(DataPackSettings dataPackSettings) |
DataPackSettings |
method_29558() |
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 DataPackSettings field_25403
public LevelInfo(String name, GameMode gameMode, boolean bool, Difficulty difficulty, boolean bool2, GameRules gameRules, DataPackSettings dataPackSettings)
public static LevelInfo method_28383(com.mojang.serialization.Dynamic<?> dynamic, DataPackSettings dataPackSettings)
public String getLevelName()
public GameMode getGameMode()
public boolean hasStructures()
public Difficulty getDifficulty()
public boolean isHardcore()
public GameRules getGameRules()
public DataPackSettings method_29558()
public LevelInfo method_28381(Difficulty difficulty)
public LevelInfo method_29557(DataPackSettings dataPackSettings)
public LevelInfo method_28385()