IJsonSettings, IPropSettings@ApiInternal public class Settings extends java.lang.Object implements IPropSettings, IJsonSettings
| Modifier and Type | Field | Description |
|---|---|---|
int |
autosaveIntervalSeconds |
|
java.lang.String |
currentLocale |
|
boolean |
cursorInfos |
|
static int |
DEFAULT_GUI_COLOR |
|
boolean |
fullscreen |
|
int |
guiColor |
|
float |
guiScale |
|
boolean |
hardwareCursor |
|
static Keybind |
KEY_ADVANCED_INFO |
|
static Keybind |
KEY_BACKGROUND |
|
static Keybind |
KEY_CHAT |
|
static Keybind |
KEY_COMPENDIUM |
|
static Keybind |
KEY_DESTROY |
|
static Keybind |
KEY_DOWN |
|
static Keybind |
KEY_GUI_ACTION_1 |
|
static Keybind |
KEY_GUI_ACTION_2 |
|
static Keybind |
KEY_INVENTORY |
|
static Keybind |
KEY_JUMP |
|
static Keybind |
KEY_LEFT |
|
static Keybind |
KEY_MENU |
|
static Keybind |
KEY_PLACE |
|
static Keybind |
KEY_RIGHT |
|
static Keybind |
KEY_SCREENSHOT |
|
static Keybind |
KEY_UP |
|
static Keybind[] |
KEYS_ITEM_SELECTION |
|
java.lang.String |
lastServerIp |
|
float |
musicVolume |
|
float |
renderScale |
|
boolean |
smoothLighting |
|
float |
soundVolume |
|
float |
textSpeed |
| Constructor | Description |
|---|---|
Settings() |
| Modifier and Type | Method | Description |
|---|---|---|
java.io.File |
getFile(IDataManager manager) |
|
java.lang.String |
getName() |
|
java.io.File |
getSettingsFile(IDataManager manager) |
|
void |
load(com.google.gson.JsonObject object) |
|
void |
load(java.util.Properties props) |
|
void |
save(com.google.gson.JsonObject object) |
get, get, get, get, load, save, set, set, set, setpublic static final Keybind KEY_PLACE
public static final Keybind KEY_DESTROY
public static final Keybind KEY_GUI_ACTION_1
public static final Keybind KEY_GUI_ACTION_2
public static final Keybind KEY_INVENTORY
public static final Keybind KEY_COMPENDIUM
public static final Keybind KEY_MENU
public static final Keybind KEY_LEFT
public static final Keybind KEY_RIGHT
public static final Keybind KEY_UP
public static final Keybind KEY_DOWN
public static final Keybind KEY_JUMP
public static final Keybind KEY_BACKGROUND
public static final Keybind KEY_CHAT
public static final Keybind KEY_ADVANCED_INFO
public static final Keybind KEY_SCREENSHOT
public static final Keybind[] KEYS_ITEM_SELECTION
public static final int DEFAULT_GUI_COLOR
public int autosaveIntervalSeconds
public float textSpeed
public float guiScale
public float renderScale
public int guiColor
public boolean hardwareCursor
public boolean cursorInfos
public boolean fullscreen
public boolean smoothLighting
public float musicVolume
public float soundVolume
public java.lang.String lastServerIp
public java.lang.String currentLocale
public void load(java.util.Properties props)
load in interface IPropSettingspublic void load(com.google.gson.JsonObject object)
load in interface IJsonSettingspublic void save(com.google.gson.JsonObject object)
save in interface IJsonSettingspublic java.io.File getFile(IDataManager manager)
getFile in interface IPropSettingspublic java.io.File getSettingsFile(IDataManager manager)
getSettingsFile in interface IJsonSettingspublic java.lang.String getName()
getName in interface IJsonSettingsgetName in interface IPropSettings