Class GameSettings

java.lang.Object
net.minecraft.client.GameSettings

public class GameSettings extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • GSON

      private static final com.google.gson.Gson GSON
    • RESOURCE_PACK_TYPE

      private static final com.google.gson.reflect.TypeToken<List<String>> RESOURCE_PACK_TYPE
    • OPTION_SPLITTER

      private static final com.google.common.base.Splitter OPTION_SPLITTER
    • sensitivity

      public double sensitivity
    • renderDistance

      public int renderDistance
    • entityDistanceScaling

      public float entityDistanceScaling
    • framerateLimit

      public int framerateLimit
    • renderClouds

      public CloudOption renderClouds
    • graphicsMode

      public GraphicsFanciness graphicsMode
    • ambientOcclusion

      public AmbientOcclusionStatus ambientOcclusion
    • resourcePacks

      public List<String> resourcePacks
    • incompatibleResourcePacks

      public List<String> incompatibleResourcePacks
    • chatVisibility

      public ChatVisibility chatVisibility
    • chatOpacity

      public double chatOpacity
    • chatLineSpacing

      public double chatLineSpacing
    • textBackgroundOpacity

      public double textBackgroundOpacity
    • fullscreenVideoModeString

      @Nullable public String fullscreenVideoModeString
    • hideServerAddress

      public boolean hideServerAddress
    • advancedItemTooltips

      public boolean advancedItemTooltips
    • pauseOnLostFocus

      public boolean pauseOnLostFocus
    • modelParts

      private final Set<PlayerModelPart> modelParts
    • mainHand

      public HandSide mainHand
    • overrideWidth

      public int overrideWidth
    • overrideHeight

      public int overrideHeight
    • heldItemTooltips

      public boolean heldItemTooltips
    • chatScale

      public double chatScale
    • chatWidth

      public double chatWidth
    • chatHeightUnfocused

      public double chatHeightUnfocused
    • chatHeightFocused

      public double chatHeightFocused
    • chatDelay

      public double chatDelay
    • mipmapLevels

      public int mipmapLevels
    • sourceVolumes

      private final Map<SoundCategory,Float> sourceVolumes
    • useNativeTransport

      public boolean useNativeTransport
    • attackIndicator

      public AttackIndicatorStatus attackIndicator
    • tutorialStep

      public TutorialSteps tutorialStep
    • joinedFirstServer

      public boolean joinedFirstServer
    • biomeBlendRadius

      public int biomeBlendRadius
    • mouseWheelSensitivity

      public double mouseWheelSensitivity
    • rawMouseInput

      public boolean rawMouseInput
    • glDebugVerbosity

      public int glDebugVerbosity
    • autoJump

      public boolean autoJump
    • autoSuggestions

      public boolean autoSuggestions
    • chatColors

      public boolean chatColors
    • chatLinksPrompt

      public boolean chatLinksPrompt
    • enableVsync

      public boolean enableVsync
    • entityShadows

      public boolean entityShadows
    • forceUnicodeFont

      public boolean forceUnicodeFont
    • invertYMouse

      public boolean invertYMouse
    • discreteMouseScroll

      public boolean discreteMouseScroll
    • realmsNotifications

      public boolean realmsNotifications
    • reducedDebugInfo

      public boolean reducedDebugInfo
    • snooperEnabled

      public boolean snooperEnabled
    • showSubtitles

      public boolean showSubtitles
    • backgroundForChatOnly

      public boolean backgroundForChatOnly
    • touchscreen

      public boolean touchscreen
    • fullscreen

      public boolean fullscreen
    • bobView

      public boolean bobView
    • toggleCrouch

      public boolean toggleCrouch
    • toggleSprint

      public boolean toggleSprint
    • skipMultiplayerWarning

      public boolean skipMultiplayerWarning
    • hideMatchedNames

      public boolean hideMatchedNames
    • keyUp

      public final KeyBinding keyUp
    • keyLeft

      public final KeyBinding keyLeft
    • keyDown

      public final KeyBinding keyDown
    • keyRight

      public final KeyBinding keyRight
    • keyJump

      public final KeyBinding keyJump
    • keyShift

      public final KeyBinding keyShift
    • keySprint

      public final KeyBinding keySprint
    • keyInventory

      public final KeyBinding keyInventory
    • keySwapOffhand

      public final KeyBinding keySwapOffhand
    • keyDrop

      public final KeyBinding keyDrop
    • keyUse

      public final KeyBinding keyUse
    • keyAttack

      public final KeyBinding keyAttack
    • keyPickItem

      public final KeyBinding keyPickItem
    • keyChat

      public final KeyBinding keyChat
    • keyPlayerList

      public final KeyBinding keyPlayerList
    • keyCommand

      public final KeyBinding keyCommand
    • keySocialInteractions

      public final KeyBinding keySocialInteractions
    • keyScreenshot

      public final KeyBinding keyScreenshot
    • keyTogglePerspective

      public final KeyBinding keyTogglePerspective
    • keySmoothCamera

      public final KeyBinding keySmoothCamera
    • keyFullscreen

      public final KeyBinding keyFullscreen
    • keySpectatorOutlines

      public final KeyBinding keySpectatorOutlines
    • keyAdvancements

      public final KeyBinding keyAdvancements
    • keyHotbarSlots

      public final KeyBinding[] keyHotbarSlots
    • keySaveHotbarActivator

      public final KeyBinding keySaveHotbarActivator
    • keyLoadHotbarActivator

      public final KeyBinding keyLoadHotbarActivator
    • keyMappings

      public KeyBinding[] keyMappings
    • minecraft

      protected Minecraft minecraft
    • optionsFile

      private final File optionsFile
    • difficulty

      public Difficulty difficulty
    • hideGui

      public boolean hideGui
    • cameraType

      private PointOfView cameraType
    • renderDebug

      public boolean renderDebug
    • renderDebugCharts

      public boolean renderDebugCharts
    • renderFpsChart

      public boolean renderFpsChart
    • lastMpIp

      public String lastMpIp
    • smoothCamera

      public boolean smoothCamera
    • fov

      public double fov
    • screenEffectScale

      public float screenEffectScale
    • fovEffectScale

      public float fovEffectScale
    • gamma

      public double gamma
    • guiScale

      public int guiScale
    • particles

      public ParticleStatus particles
    • narratorStatus

      public NarratorStatus narratorStatus
    • languageCode

      public String languageCode
    • syncWrites

      public boolean syncWrites
  • Constructor Details

    • GameSettings

      public GameSettings(Minecraft p_i46326_1_, File p_i46326_2_)
  • Method Details

    • getBackgroundOpacity

      public float getBackgroundOpacity(float p_216840_1_)
    • getBackgroundColor

      public int getBackgroundColor(float p_216841_1_)
    • getBackgroundColor

      public int getBackgroundColor(int p_216839_1_)
    • setKey

      public void setKey(KeyBinding p_198014_1_, InputMappings.Input p_198014_2_)
    • load

      public void load()
    • dataFix

      private CompoundNBT dataFix(CompoundNBT p_189988_1_)
    • readFloat

      private static float readFloat(String p_74305_0_)
    • save

      public void save()
    • getSoundSourceVolume

      public float getSoundSourceVolume(SoundCategory p_186711_1_)
    • setSoundCategoryVolume

      public void setSoundCategoryVolume(SoundCategory p_186712_1_, float p_186712_2_)
    • broadcastOptions

      public void broadcastOptions()
    • getModelParts

      public Set<PlayerModelPart> getModelParts()
    • setModelPart

      public void setModelPart(PlayerModelPart p_178878_1_, boolean p_178878_2_)
    • toggleModelPart

      public void toggleModelPart(PlayerModelPart p_178877_1_)
    • getCloudsType

      public CloudOption getCloudsType()
    • useNativeTransport

      public boolean useNativeTransport()
    • loadSelectedResourcePacks

      public void loadSelectedResourcePacks(ResourcePackList p_198017_1_)
    • setForgeKeybindProperties

      private void setForgeKeybindProperties()
    • getCameraType

      public PointOfView getCameraType()
    • setCameraType

      public void setCameraType(PointOfView p_243229_1_)