Package net.minecraft.client
Class GameSettings
java.lang.Object
net.minecraft.client.GameSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanbooleanintbooleanprivate PointOfViewbooleandoubledoubledoubledoublebooleanbooleandoubledoubledoublebooleanbooleanfloatbooleanbooleandoublefloatintbooleandoubleintprivate static final com.google.gson.Gsonintbooleanbooleanbooleanbooleanbooleanbooleanfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBinding[]final KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingfinal KeyBindingprivate static final org.apache.logging.log4j.Loggerprotected Minecraftintprivate final Set<PlayerModelPart>doubleprivate static final com.google.common.base.Splitterprivate final Fileintintbooleanbooleanbooleanbooleanbooleanbooleanintbooleanfloatdoublebooleanbooleanbooleanbooleanprivate final Map<SoundCategory,Float> booleandoublebooleanbooleanbooleanboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate CompoundNBTdataFix(CompoundNBT p_189988_1_) intgetBackgroundColor(float p_216841_1_) intgetBackgroundColor(int p_216839_1_) floatgetBackgroundOpacity(float p_216840_1_) floatgetSoundSourceVolume(SoundCategory p_186711_1_) voidload()voidloadSelectedResourcePacks(ResourcePackList p_198017_1_) private static floatvoidsave()voidsetCameraType(PointOfView p_243229_1_) private voidvoidsetKey(KeyBinding p_198014_1_, InputMappings.Input p_198014_2_) voidsetModelPart(PlayerModelPart p_178878_1_, boolean p_178878_2_) voidsetSoundCategoryVolume(SoundCategory p_186712_1_, float p_186712_2_) voidtoggleModelPart(PlayerModelPart p_178877_1_) boolean
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
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
-
graphicsMode
-
ambientOcclusion
-
resourcePacks
-
incompatibleResourcePacks
-
chatVisibility
-
chatOpacity
public double chatOpacity -
chatLineSpacing
public double chatLineSpacing -
textBackgroundOpacity
public double textBackgroundOpacity -
fullscreenVideoModeString
-
hideServerAddress
public boolean hideServerAddress -
advancedItemTooltips
public boolean advancedItemTooltips -
pauseOnLostFocus
public boolean pauseOnLostFocus -
modelParts
-
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
-
useNativeTransport
public boolean useNativeTransport -
attackIndicator
-
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 -
chatLinks
public boolean chatLinks -
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
-
keyLeft
-
keyDown
-
keyRight
-
keyJump
-
keyShift
-
keySprint
-
keyInventory
-
keySwapOffhand
-
keyDrop
-
keyUse
-
keyAttack
-
keyPickItem
-
keyChat
-
keyPlayerList
-
keyCommand
-
keySocialInteractions
-
keyScreenshot
-
keyTogglePerspective
-
keySmoothCamera
-
keyFullscreen
-
keySpectatorOutlines
-
keyAdvancements
-
keyHotbarSlots
-
keySaveHotbarActivator
-
keyLoadHotbarActivator
-
keyMappings
-
minecraft
-
optionsFile
-
difficulty
-
hideGui
public boolean hideGui -
cameraType
-
renderDebug
public boolean renderDebug -
renderDebugCharts
public boolean renderDebugCharts -
renderFpsChart
public boolean renderFpsChart -
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
-
narratorStatus
-
languageCode
-
syncWrites
public boolean syncWrites
-
-
Constructor Details
-
GameSettings
-
-
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
-
load
public void load() -
dataFix
-
readFloat
-
save
public void save() -
getSoundSourceVolume
-
setSoundCategoryVolume
-
broadcastOptions
public void broadcastOptions() -
getModelParts
-
setModelPart
-
toggleModelPart
-
getCloudsType
-
useNativeTransport
public boolean useNativeTransport() -
loadSelectedResourcePacks
-
setForgeKeybindProperties
private void setForgeKeybindProperties() -
getCameraType
-
setCameraType
-