Class GameSettings


  • public class GameSettings
    extends java.lang.Object
    + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Field Detail

      • mouseSensitivity

        public float mouseSensitivity
      • invertMouse

        public boolean invertMouse
      • renderDistanceChunks

        public int renderDistanceChunks
      • viewBobbing

        public boolean viewBobbing
      • anaglyph

        public boolean anaglyph
      • fboEnable

        public boolean fboEnable
      • limitFramerate

        public int limitFramerate
      • clouds

        public int clouds
        + Clouds flag
      • fancyGraphics

        public boolean fancyGraphics
      • ambientOcclusion

        public int ambientOcclusion
        + Smooth Lighting
      • resourcePacks

        public java.util.List<java.lang.String> resourcePacks
      • field_183018_l

        public java.util.List<java.lang.String> field_183018_l
      • chatColours

        public boolean chatColours
      • chatLinks

        public boolean chatLinks
      • chatLinksPrompt

        public boolean chatLinksPrompt
      • chatOpacity

        public float chatOpacity
      • snooperEnabled

        public boolean snooperEnabled
      • enableVsync

        public boolean enableVsync
      • allowBlockAlternatives

        public boolean allowBlockAlternatives
      • reducedDebugInfo

        public boolean reducedDebugInfo
      • hideServerAddress

        public boolean hideServerAddress
      • advancedItemTooltips

        public boolean advancedItemTooltips
      • pauseOnLostFocus

        public boolean pauseOnLostFocus
        + Whether to pause when the game loses focus, toggled by F3+P
      • 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
      • showInventoryAchievementHint

        public boolean showInventoryAchievementHint
      • mipmapLevels

        public int mipmapLevels
      • streamBytesPerPixel

        public float streamBytesPerPixel
      • streamMicVolume

        public float streamMicVolume
      • streamGameVolume

        public float streamGameVolume
      • streamKbps

        public float streamKbps
      • streamFps

        public float streamFps
      • streamCompression

        public int streamCompression
      • streamSendMetadata

        public boolean streamSendMetadata
      • streamPreferredServer

        public java.lang.String streamPreferredServer
      • streamChatEnabled

        public int streamChatEnabled
      • streamChatUserFilter

        public int streamChatUserFilter
      • streamMicToggleBehavior

        public int streamMicToggleBehavior
      • field_181150_U

        public boolean field_181150_U
      • field_181151_V

        public boolean field_181151_V
      • keyBindForward

        public KeyBinding keyBindForward
      • keyBindInventory

        public KeyBinding keyBindInventory
      • keyBindUseItem

        public KeyBinding keyBindUseItem
      • keyBindPickBlock

        public KeyBinding keyBindPickBlock
      • keyBindPlayerList

        public KeyBinding keyBindPlayerList
      • keyBindCommand

        public KeyBinding keyBindCommand
      • keyBindScreenshot

        public KeyBinding keyBindScreenshot
      • keyBindTogglePerspective

        public KeyBinding keyBindTogglePerspective
      • keyBindSmoothCamera

        public KeyBinding keyBindSmoothCamera
      • keyBindZoomCamera

        public KeyBinding keyBindZoomCamera
      • keyBindFunction

        public KeyBinding keyBindFunction
      • keyBindsHotbar

        public KeyBinding[] keyBindsHotbar
      • hideGUI

        public boolean hideGUI
      • thirdPersonView

        public int thirdPersonView
      • showDebugInfo

        public boolean showDebugInfo
      • showDebugProfilerChart

        public boolean showDebugProfilerChart
      • field_181657_aC

        public boolean field_181657_aC
      • lastServer

        public java.lang.String lastServer
      • smoothCamera

        public boolean smoothCamera
      • debugCamEnable

        public boolean debugCamEnable
      • fovSetting

        public float fovSetting
      • gammaSetting

        public float gammaSetting
      • saturation

        public float saturation
      • guiScale

        public int guiScale
        + GUI scale
      • particleSetting

        public int particleSetting
      • language

        public java.lang.String language
      • forceUnicodeFont

        public boolean forceUnicodeFont
      • hudFps

        public boolean hudFps
      • hudCoords

        public boolean hudCoords
      • hudPlayer

        public boolean hudPlayer
      • hudWorld

        public boolean hudWorld
      • hudStats

        public boolean hudStats
      • hud24h

        public boolean hud24h
      • chunkFix

        public boolean chunkFix
      • fog

        public boolean fog
      • fxaa

        public int fxaa
    • Constructor Detail

      • GameSettings

        public GameSettings​(Minecraft mcIn)
    • Method Detail

      • getKeyDisplayString

        public static java.lang.String getKeyDisplayString​(int parInt1)
        + Represents a key or mouse button as a string. Args: key
      • isKeyDown

        public static boolean isKeyDown​(KeyBinding parKeyBinding)
        + Returns whether the specified key binding is currently being pressed.
      • setOptionKeyBinding

        public void setOptionKeyBinding​(KeyBinding parKeyBinding,
                                        int parInt1)
        + Sets a key binding and then saves all settings.
      • setOptionFloatValue

        public void setOptionFloatValue​(GameSettings.Options parOptions,
                                        float parFloat1)
        + If the specified option is controlled by a slider (float value), this will set the float value.
      • setOptionValue

        public void setOptionValue​(GameSettings.Options parOptions,
                                   int parInt1)
        + For non-float options. Toggles the option on/off, or cycles through the list i.e. render distances.
      • getKeyBinding

        public java.lang.String getKeyBinding​(GameSettings.Options parOptions)
        + 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.
      • getSoundLevel

        public float getSoundLevel​(SoundCategory parSoundCategory)
      • setSoundLevel

        public void setSoundLevel​(SoundCategory parSoundCategory,
                                  float parFloat1)
      • sendSettingsToServer

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

        public void setModelPartEnabled​(EnumPlayerModelParts parEnumPlayerModelParts,
                                        boolean parFlag)
      • switchModelPartEnabled

        public void switchModelPartEnabled​(EnumPlayerModelParts parEnumPlayerModelParts)
      • func_181147_e

        public int func_181147_e()
      • func_181148_f

        public boolean func_181148_f()