Package net.minecraft.client
Class GameSettings
java.lang.Object
net.minecraft.client.GameSettings
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
int
boolean
private PointOfView
boolean
double
double
double
double
boolean
boolean
double
double
double
boolean
boolean
float
boolean
boolean
double
float
int
boolean
double
int
private static final com.google.gson.Gson
int
boolean
boolean
boolean
boolean
boolean
boolean
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding[]
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
final KeyBinding
private static final org.apache.logging.log4j.Logger
protected Minecraft
int
private final Set<PlayerModelPart>
double
private static final com.google.common.base.Splitter
private final File
int
int
boolean
boolean
boolean
boolean
boolean
boolean
int
boolean
float
double
boolean
boolean
boolean
boolean
private final Map<SoundCategory,
Float> boolean
double
boolean
boolean
boolean
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
private CompoundNBT
dataFix
(CompoundNBT p_189988_1_) int
getBackgroundColor
(float p_216841_1_) int
getBackgroundColor
(int p_216839_1_) float
getBackgroundOpacity
(float p_216840_1_) float
getSoundSourceVolume
(SoundCategory p_186711_1_) void
load()
void
loadSelectedResourcePacks
(ResourcePackList p_198017_1_) private static float
void
save()
void
setCameraType
(PointOfView p_243229_1_) private void
void
setKey
(KeyBinding p_198014_1_, InputMappings.Input p_198014_2_) void
setModelPart
(PlayerModelPart p_178878_1_, boolean p_178878_2_) void
setSoundCategoryVolume
(SoundCategory p_186712_1_, float p_186712_2_) void
toggleModelPart
(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
-