public interface class_5219
| Modifier and Type | Method and Description |
|---|---|
void |
addServerBrand(String brand,
boolean modded) |
boolean |
areCommandsAllowed() |
CompoundTag |
cloneWorldTag(CompoundTag tag) |
CompoundTag |
getCustomBossEvents() |
Difficulty |
getDifficulty() |
Set<String> |
getDisabledDataPacks() |
Set<String> |
getEnabledDataPacks() |
default String |
getFormatName(int id) |
GameMode |
getGameMode() |
GameRules |
getGameRules() |
LevelInfo |
getLevelInfo() |
String |
getLevelName() |
CompoundTag |
getPlayerData() |
Set<String> |
getServerBrands() |
int |
getVersion() |
boolean |
isDifficultyLocked() |
boolean |
isHardcore() |
boolean |
isModded() |
class_5268 |
method_27859() |
class_5285 |
method_28057() |
CompoundTag |
method_29036() |
void |
method_29037(CompoundTag compoundTag) |
default void |
populateCrashReport(CrashReportSection crashReportSection) |
void |
setCustomBossEvents(CompoundTag tag) |
void |
setDifficulty(Difficulty difficulty) |
void |
setDifficultyLocked(boolean locked) |
void |
setGameMode(GameMode gameMode) |
boolean isModded()
void addServerBrand(String brand, boolean modded)
default void populateCrashReport(CrashReportSection crashReportSection)
default String getFormatName(int id)
@Nullable CompoundTag getCustomBossEvents()
void setCustomBossEvents(@Nullable CompoundTag tag)
class_5268 method_27859()
@Environment(value=CLIENT) LevelInfo getLevelInfo()
CompoundTag cloneWorldTag(@Nullable CompoundTag tag)
boolean isHardcore()
int getVersion()
String getLevelName()
GameMode getGameMode()
void setGameMode(GameMode gameMode)
boolean areCommandsAllowed()
Difficulty getDifficulty()
void setDifficulty(Difficulty difficulty)
boolean isDifficultyLocked()
void setDifficultyLocked(boolean locked)
GameRules getGameRules()
CompoundTag getPlayerData()
CompoundTag method_29036()
void method_29037(CompoundTag compoundTag)
class_5285 method_28057()