Package net.minecraft.client
Class Options
java.lang.Object
net.minecraft.client.Options
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanbooleanbooleanintbooleanprivate CameraTypebooleandoubledoubledoubledoublebooleanbooleandoubledoubledoublebooleanstatic final Stringprivate static final floatbooleanbooleanfloatbooleanbooleandoublefloatintbooleandoubleintprivate static final com.google.gson.Gsonintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMapping[]final KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMappingfinal KeyMapping(package private) static final org.slf4j.Loggerprotected Minecraftintprivate final Set<PlayerModelPart>doubleprivate static final com.google.common.base.Splitterprivate final Fileintintbooleanbooleanbooleanbooleanstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intbooleanbooleanintbooleanfloatdoubleprivate intbooleanbooleanintbooleanbooleanbooleanprivate final it.unimi.dsi.fastutil.objects.Object2FloatMap<SoundSource>booleandoublebooleanbooleanbooleanboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate CompoundTagdataFix(CompoundTag p_92165_) intgetBackgroundColor(float p_92171_) intgetBackgroundColor(int p_92144_) floatgetBackgroundOpacity(float p_92142_) intgetFile()floatgetSoundSourceVolume(SoundSource p_92148_) (package private) static booleanbooleanisModelPartEnabled(PlayerModelPart p_168417_) (package private) static booleanvoidload()voidloadSelectedResourcePacks(PackRepository p_92146_) private voidprocessOptions(Options.FieldAccess p_168428_) private static AmbientOcclusionStatusreadAmbientOcclusion(String p_168447_) private static CloudStatusreadCloudStatus(String p_168445_) private static HumanoidArmreadMainHand(String p_168449_) readPackList(String p_168443_) voidsave()voidsetCameraType(CameraType p_92158_) private voidvoidsetKey(KeyMapping p_92160_, InputConstants.Key p_92161_) private voidsetModelPart(PlayerModelPart p_92155_, boolean p_92156_) voidsetServerRenderDistance(int p_193771_) voidsetSoundCategoryVolume(SoundSource p_92150_, float p_92151_) voidtoggleModelPart(PlayerModelPart p_168419_, boolean p_168420_) booleanprivate static StringwriteCloudStatus(CloudStatus p_168426_) private static StringwriteMainHand(HumanoidArm p_168415_)
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
RESOURCE_PACK_TYPE
-
RENDER_DISTANCE_TINY
public static final int RENDER_DISTANCE_TINY- See Also:
-
RENDER_DISTANCE_SHORT
public static final int RENDER_DISTANCE_SHORT- See Also:
-
RENDER_DISTANCE_NORMAL
public static final int RENDER_DISTANCE_NORMAL- See Also:
-
RENDER_DISTANCE_FAR
public static final int RENDER_DISTANCE_FAR- See Also:
-
RENDER_DISTANCE_REALLY_FAR
public static final int RENDER_DISTANCE_REALLY_FAR- See Also:
-
RENDER_DISTANCE_EXTREME
public static final int RENDER_DISTANCE_EXTREME- See Also:
-
OPTION_SPLITTER
private static final com.google.common.base.Splitter OPTION_SPLITTER -
DEFAULT_VOLUME
private static final float DEFAULT_VOLUME- See Also:
-
DEFAULT_SOUND_DEVICE
- See Also:
-
darkMojangStudiosBackground
public boolean darkMojangStudiosBackground -
hideLightningFlashes
public boolean hideLightningFlashes -
sensitivity
public double sensitivity -
renderDistance
public int renderDistance -
simulationDistance
public int simulationDistance -
serverRenderDistance
private int serverRenderDistance -
entityDistanceScaling
public float entityDistanceScaling -
framerateLimit
public int framerateLimit -
renderClouds
-
graphicsMode
-
ambientOcclusion
-
prioritizeChunkUpdates
-
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 -
hideBundleTutorial
public boolean hideBundleTutorial -
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 -
allowServerListing
public boolean allowServerListing -
reducedDebugInfo
public boolean reducedDebugInfo -
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 -
skipRealms32bitWarning
public boolean skipRealms32bitWarning -
hideMatchedNames
public boolean hideMatchedNames -
showAutosaveIndicator
public boolean showAutosaveIndicator -
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
-
soundDevice
-
syncWrites
public boolean syncWrites
-
-
Constructor Details
-
Options
-
-
Method Details
-
getBackgroundOpacity
public float getBackgroundOpacity(float p_92142_) -
getBackgroundColor
public int getBackgroundColor(float p_92171_) -
getBackgroundColor
public int getBackgroundColor(int p_92144_) -
setKey
-
processOptions
-
load
public void load() -
isTrue
-
isFalse
-
dataFix
-
save
public void save() -
getSoundSourceVolume
-
setSoundCategoryVolume
-
broadcastOptions
public void broadcastOptions() -
setModelPart
-
isModelPartEnabled
-
toggleModelPart
-
getCloudsType
-
useNativeTransport
public boolean useNativeTransport() -
loadSelectedResourcePacks
-
setForgeKeybindProperties
private void setForgeKeybindProperties() -
getCameraType
-
setCameraType
-
readPackList
-
readCloudStatus
-
writeCloudStatus
-
readAmbientOcclusion
-
readMainHand
-
writeMainHand
-
getFile
-
dumpOptionsForReport
-
setServerRenderDistance
public void setServerRenderDistance(int p_193771_) -
getEffectiveRenderDistance
public int getEffectiveRenderDistance()
-