public class GameSettings
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GameSettings.Options |
Constructor and Description |
---|
GameSettings() |
GameSettings(Minecraft mcIn,
java.io.File optionsFileIn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKeyBinding(GameSettings.Options settingOption) |
static java.lang.String |
getKeyDisplayString(int key) |
java.util.Set<EnumPlayerModelParts> |
getModelParts() |
float |
getOptionFloatValue(GameSettings.Options settingOption) |
boolean |
getOptionOrdinalValue(GameSettings.Options settingOption) |
float |
getSoundLevel(SoundCategory category) |
static boolean |
isKeyDown(KeyBinding key) |
boolean |
isUsingNativeTransport() |
void |
loadOptions() |
void |
saveOptions() |
void |
sendSettingsToServer() |
void |
setModelPartEnabled(EnumPlayerModelParts modelPart,
boolean enable) |
void |
setOptionFloatValue(GameSettings.Options settingsOption,
float value) |
void |
setOptionKeyBinding(KeyBinding key,
int keyCode) |
void |
setOptionValue(GameSettings.Options settingsOption,
int value) |
void |
setSoundLevel(SoundCategory category,
float volume) |
int |
shouldRenderClouds() |
void |
switchModelPartEnabled(EnumPlayerModelParts modelPart) |
public float mouseSensitivity
public boolean invertMouse
public int renderDistanceChunks
public boolean viewBobbing
public boolean anaglyph
public boolean fboEnable
public int limitFramerate
public int clouds
public boolean fancyGraphics
public int ambientOcclusion
public java.util.List<java.lang.String> resourcePacks
public java.util.List<java.lang.String> incompatibleResourcePacks
public EntityPlayer.EnumChatVisibility chatVisibility
public boolean chatColours
public boolean chatLinks
public boolean chatLinksPrompt
public float chatOpacity
public boolean snooperEnabled
public boolean fullScreen
public boolean enableVsync
public boolean useVbo
public boolean reducedDebugInfo
public boolean hideServerAddress
public boolean advancedItemTooltips
public boolean pauseOnLostFocus
public boolean touchscreen
public EnumHandSide mainHand
public int overrideWidth
public int overrideHeight
public boolean heldItemTooltips
public float chatScale
public float chatWidth
public float chatHeightUnfocused
public float chatHeightFocused
public boolean showInventoryAchievementHint
public int mipmapLevels
public boolean useNativeTransport
public boolean entityShadows
public int attackIndicator
public boolean enableWeakAttacks
public boolean showSubtitles
public boolean realmsNotifications
public KeyBinding keyBindForward
public KeyBinding keyBindLeft
public KeyBinding keyBindBack
public KeyBinding keyBindRight
public KeyBinding keyBindJump
public KeyBinding keyBindSneak
public KeyBinding keyBindSprint
public KeyBinding keyBindInventory
public KeyBinding keyBindSwapHands
public KeyBinding keyBindDrop
public KeyBinding keyBindUseItem
public KeyBinding keyBindAttack
public KeyBinding keyBindPickBlock
public KeyBinding keyBindChat
public KeyBinding keyBindPlayerList
public KeyBinding keyBindCommand
public KeyBinding keyBindScreenshot
public KeyBinding keyBindTogglePerspective
public KeyBinding keyBindSmoothCamera
public KeyBinding keyBindFullscreen
public KeyBinding keyBindSpectatorOutlines
public KeyBinding[] keyBindsHotbar
public KeyBinding[] keyBindings
protected Minecraft mc
public EnumDifficulty difficulty
public boolean hideGUI
public int thirdPersonView
public boolean showDebugInfo
public boolean showDebugProfilerChart
public boolean showLagometer
public java.lang.String lastServer
public boolean smoothCamera
public boolean debugCamEnable
public float fovSetting
public float gammaSetting
public float saturation
public int guiScale
public int particleSetting
public java.lang.String language
public boolean forceUnicodeFont
public GameSettings(Minecraft mcIn, java.io.File optionsFileIn)
public GameSettings()
public static java.lang.String getKeyDisplayString(int key)
public static boolean isKeyDown(KeyBinding key)
public void setOptionKeyBinding(KeyBinding key, int keyCode)
public void setOptionFloatValue(GameSettings.Options settingsOption, float value)
public void setOptionValue(GameSettings.Options settingsOption, int value)
public float getOptionFloatValue(GameSettings.Options settingOption)
public boolean getOptionOrdinalValue(GameSettings.Options settingOption)
public java.lang.String getKeyBinding(GameSettings.Options settingOption)
public void loadOptions()
public void saveOptions()
public float getSoundLevel(SoundCategory category)
public void setSoundLevel(SoundCategory category, float volume)
public void sendSettingsToServer()
public java.util.Set<EnumPlayerModelParts> getModelParts()
public void setModelPartEnabled(EnumPlayerModelParts modelPart, boolean enable)
public void switchModelPartEnabled(EnumPlayerModelParts modelPart)
public int shouldRenderClouds()
public boolean isUsingNativeTransport()