Class GameSettings

java.lang.Object
net.minecraft.src.GameSettings

public class GameSettings extends Object
  • Field Details

    • musicVolume

      public float musicVolume
    • soundVolume

      public float soundVolume
    • mouseSensitivity

      public float mouseSensitivity
    • invertMouse

      public boolean invertMouse
    • renderDistance

      public int renderDistance
    • viewBobbing

      public boolean viewBobbing
    • anaglyph

      public boolean anaglyph
    • advancedOpengl

      public boolean advancedOpengl
      Advanced OpenGL
    • limitFramerate

      public int limitFramerate
    • fancyGraphics

      public boolean fancyGraphics
    • ambientOcclusion

      public int ambientOcclusion
      Smooth Lighting
    • clouds

      public boolean clouds
      Clouds flag
    • skin

      public String skin
      The name of the selected texture pack.
    • chatVisibility

      public int chatVisibility
    • chatColours

      public boolean chatColours
    • chatLinksPrompt

      public boolean chatLinksPrompt
    • chatOpacity

      public float chatOpacity
    • serverTextures

      public boolean serverTextures
    • snooperEnabled

      public boolean snooperEnabled
    • fullScreen

      public boolean fullScreen
    • borderlessFullscreen

      public boolean borderlessFullscreen
    • enableVsync

      public boolean enableVsync
    • hideServerAddress

      public boolean hideServerAddress
    • advancedItemTooltips

      public boolean advancedItemTooltips
      Whether to show advanced information on item tooltips, toggled by F3+H
    • pauseOnLostFocus

      public boolean pauseOnLostFocus
      Whether to pause when the game loses focus, toggled by F3+P
    • showCape

      public boolean showCape
      Whether to show your cape
    • touchscreen

      public boolean touchscreen
    • overrideWidth

      public int overrideWidth
    • overrideHeight

      public int overrideHeight
    • heldItemTooltips

      public boolean heldItemTooltips
    • chatScale

      public float chatScale
    • chatWidth

      public float chatWidth
    • chatHeightUnfocused

      public float chatHeightUnfocused
    • chatHeightFocused

      public float chatHeightFocused
    • keyBindForward

      public KeyBinding keyBindForward
    • keyBindLeft

      public KeyBinding keyBindLeft
    • keyBindBack

      public KeyBinding keyBindBack
    • keyBindRight

      public KeyBinding keyBindRight
    • keyBindJump

      public KeyBinding keyBindJump
    • keyBindInventory

      public KeyBinding keyBindInventory
    • keyBindDrop

      public KeyBinding keyBindDrop
    • keyBindChat

      public KeyBinding keyBindChat
    • keyBindSneak

      public KeyBinding keyBindSneak
    • keyBindAttack

      public KeyBinding keyBindAttack
    • keyBindUseItem

      public KeyBinding keyBindUseItem
    • keyBindPlayerList

      public KeyBinding keyBindPlayerList
    • keyBindPickBlock

      public KeyBinding keyBindPickBlock
    • keyBindCommand

      public KeyBinding keyBindCommand
    • keyBindSpecial

      public KeyBinding keyBindSpecial
    • keyBindAchievements

      public KeyBinding keyBindAchievements
    • keyBindings

      public KeyBinding[] keyBindings
    • mc

      protected Minecraft mc
    • difficulty

      public int difficulty
    • hideGUI

      public boolean hideGUI
    • thirdPersonView

      public int thirdPersonView
    • debugScreenState

      public byte debugScreenState
      Holds the current state of the debug screen as a byte (1=statistics, 2=graphs, 4=profiler chart; 3=statistics + graphs, etc...)
    • SHOW_DEBUG_STATS

      public static final byte SHOW_DEBUG_STATS
      See Also:
    • SHOW_DEBUG_GRAPHS

      public static final byte SHOW_DEBUG_GRAPHS
      See Also:
    • SHOW_DEBUG_PIE_CHART

      public static final byte SHOW_DEBUG_PIE_CHART
      See Also:
    • extendedDebugInfo

      public boolean extendedDebugInfo
    • lastServer

      public String lastServer
      The lastServer string.
    • noclip

      public boolean noclip
      No clipping for singleplayer
    • smoothCamera

      public boolean smoothCamera
      Smooth Camera Toggle
    • debugCamEnable

      public boolean debugCamEnable
    • noclipRate

      public float noclipRate
      No clipping movement rate
    • debugCamRate

      public float debugCamRate
      Change rate for debug camera
    • fovSetting

      public float fovSetting
    • gammaSetting

      public float gammaSetting
    • guiScale

      public int guiScale
      GUI scale
    • particleSetting

      public int particleSetting
      Determines amount of particles. 0 = All, 1 = Decreased, 2 = Minimal
    • language

      public String language
      Game settings language
  • Constructor Details

    • GameSettings

      public GameSettings(Minecraft par1Minecraft, File par2File)
    • GameSettings

      public GameSettings()
  • Method Details

    • getKeyBindingDescription

      public String getKeyBindingDescription(int par1)
    • getOptionDisplayString

      public String getOptionDisplayString(int par1)
      The string that appears inside the button/slider in the options menu.
    • getKeyDisplayString

      public static String getKeyDisplayString(int par0)
      Represents a key or mouse button as a string. Args: key
    • isKeyDown

      public static boolean isKeyDown(KeyBinding par0KeyBinding)
      Returns whether the specified key binding is currently being pressed.
    • setKeyBinding

      public void setKeyBinding(int par1, int par2)
      Sets a key binding.
    • setOptionFloatValue

      public void setOptionFloatValue(EnumOptions par1EnumOptions, float par2)
      If the specified option is controlled by a slider (float value), this will set the float value.
    • setOptionValue

      public void setOptionValue(EnumOptions par1EnumOptions, int par2)
      For non-float options. Toggles the option on/off, or cycles through the list i.e. render distances.
    • getOptionFloatValue

      public float getOptionFloatValue(EnumOptions par1EnumOptions)
    • getOptionOrdinalValue

      public boolean getOptionOrdinalValue(EnumOptions par1EnumOptions)
    • getKeyBinding

      public String getKeyBinding(EnumOptions par1EnumOptions)
      Gets a key binding.
    • loadOptions

      public void loadOptions()
      Loads the options from the options file. It appears that this has replaced the previous 'loadOptions'
    • saveOptions

      public void saveOptions()
      Saves the options to the options file.
    • sendSettingsToServer

      public void sendSettingsToServer()
      Send a client info packet with settings information to the server
    • shouldRenderClouds

      public boolean shouldRenderClouds()
      Should render clouds