Package net.minecraft.client
Class Options
java.lang.Object
net.minecraft.client.Options
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
boolean
private static final Component
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<AttackIndicatorStatus>
static final int
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<Integer>
private final OptionInstance<Boolean>
private CameraType
private static final Component
private static final Component
private final OptionInstance<Boolean>
private final OptionInstance<Double>
private final OptionInstance<Double>
private final OptionInstance<Double>
private final OptionInstance<Double>
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<Double>
private final OptionInstance<Double>
private final OptionInstance<ChatVisiblity>
private final OptionInstance<Double>
private final OptionInstance<CloudStatus>
private final OptionInstance<Double>
private final OptionInstance<Boolean>
private final OptionInstance<Double>
static final String
private static final float
private static final Component
private static final Component
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<Double>
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<Integer>
private final OptionInstance<Double>
private final OptionInstance<Integer>
private final OptionInstance<Boolean>
private final OptionInstance<Double>
int
private final OptionInstance<Double>
private final OptionInstance<Double>
private static final Component
private static final Component
private static final Component
private final OptionInstance<GraphicsStatus>
(package private) static final com.google.gson.Gson
private final OptionInstance<Integer>
boolean
boolean
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
boolean
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
boolean
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping[]
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
final KeyMapping
(package private) static final org.slf4j.Logger
private final OptionInstance<HumanoidArm>
private static final int
protected Minecraft
private final OptionInstance<Integer>
private final Set<PlayerModelPart>
private final OptionInstance<Double>
private static final Component
private static final Component
private final OptionInstance<NarratorStatus>
private final OptionInstance<Double>
boolean
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private static final com.google.common.base.Splitter
private final File
int
int
private final OptionInstance<Double>
private final OptionInstance<ParticleStatus>
boolean
private static final Component
private static final Component
private static final Component
private final OptionInstance<PrioritizeChunkUpdates>
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
static final int
static final int
static final int
static final int
static final int
static final int
boolean
boolean
private final OptionInstance<Integer>
boolean
private final OptionInstance<Double>
private final OptionInstance<Double>
private int
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<Integer>
boolean
boolean
boolean
private final OptionInstance<String>
private final Map<SoundSource,
OptionInstance<Double>> boolean
private static final Component
private final OptionInstance<Boolean>
private final OptionInstance<Double>
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
static final int
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoJump()
bobView()
void
private OptionInstance<Double>
createSoundSliderOptionInstance
(String p_250353_, SoundSource p_249262_) private CompoundTag
dataFix
(CompoundTag p_92165_) fov()
gamma()
static Component
genericValueLabel
(Component p_231901_, int p_231902_) static Component
genericValueLabel
(Component p_231922_, Component p_231923_) int
getBackgroundColor
(float p_92171_) int
getBackgroundColor
(int p_92144_) float
getBackgroundOpacity
(float p_92142_) int
getFile()
final OptionInstance<Double>
getSoundSourceOptionInstance
(SoundSource p_251574_) final float
getSoundSourceVolume
(SoundSource p_92148_) guiScale()
(package private) static boolean
boolean
isModelPartEnabled
(PlayerModelPart p_168417_) (package private) static boolean
void
load()
void
load
(boolean limited) void
loadSelectedResourcePacks
(PackRepository p_92146_) private static double
logMouse
(int p_231966_) mainHand()
narrator()
private static Component
percentValueLabel
(Component p_231898_, double p_231899_) private static Component
pixelValueLabel
(Component p_231953_, int p_231954_) private void
processOptions
(Options.FieldAccess p_168428_) private void
processOptionsForge
(Options.FieldAccess p_168428_) readPackList
(String p_168443_) void
save()
void
setCameraType
(CameraType p_92158_) private void
void
setKey
(KeyMapping p_92160_, InputConstants.Key p_92161_) private void
setModelPart
(PlayerModelPart p_92155_, boolean p_92156_) void
setServerRenderDistance
(int p_193771_) void
toggleModelPart
(PlayerModelPart p_168419_, boolean p_168420_) private static int
unlogMouse
(double p_231840_) void
updateResourcePacks
(PackRepository p_275268_) boolean
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
GSON
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:
-
ACCESSIBILITY_TOOLTIP_DARK_MOJANG_BACKGROUND
-
darkMojangStudiosBackground
-
ACCESSIBILITY_TOOLTIP_HIDE_LIGHTNING_FLASHES
-
hideLightningFlash
-
sensitivity
-
renderDistance
-
simulationDistance
-
serverRenderDistance
private int serverRenderDistance -
entityDistanceScaling
-
UNLIMITED_FRAMERATE_CUTOFF
public static final int UNLIMITED_FRAMERATE_CUTOFF- See Also:
-
framerateLimit
-
cloudStatus
-
GRAPHICS_TOOLTIP_FAST
-
GRAPHICS_TOOLTIP_FABULOUS
-
GRAPHICS_TOOLTIP_FANCY
-
graphicsMode
-
ambientOcclusion
-
PRIORITIZE_CHUNK_TOOLTIP_NONE
-
PRIORITIZE_CHUNK_TOOLTIP_PLAYER_AFFECTED
-
PRIORITIZE_CHUNK_TOOLTIP_NEARBY
-
prioritizeChunkUpdates
-
resourcePacks
-
incompatibleResourcePacks
-
chatVisibility
-
chatOpacity
-
chatLineSpacing
-
textBackgroundOpacity
-
panoramaSpeed
-
ACCESSIBILITY_TOOLTIP_CONTRAST_MODE
-
highContrast
-
fullscreenVideoModeString
-
hideServerAddress
public boolean hideServerAddress -
advancedItemTooltips
public boolean advancedItemTooltips -
pauseOnLostFocus
public boolean pauseOnLostFocus -
modelParts
-
mainHand
-
overrideWidth
public int overrideWidth -
overrideHeight
public int overrideHeight -
chatScale
-
chatWidth
-
chatHeightUnfocused
-
chatHeightFocused
-
chatDelay
-
ACCESSIBILITY_TOOLTIP_NOTIFICATION_DISPLAY_TIME
-
notificationDisplayTime
-
mipmapLevels
-
useNativeTransport
public boolean useNativeTransport -
attackIndicator
-
tutorialStep
-
joinedFirstServer
public boolean joinedFirstServer -
hideBundleTutorial
public boolean hideBundleTutorial -
biomeBlendRadius
-
mouseWheelSensitivity
-
rawMouseInput
-
glDebugVerbosity
public int glDebugVerbosity -
autoJump
-
operatorItemsTab
-
autoSuggestions
-
chatColors
-
chatLinks
-
chatLinksPrompt
-
enableVsync
-
entityShadows
-
forceUnicodeFont
-
invertYMouse
-
discreteMouseScroll
-
realmsNotifications
-
ALLOW_SERVER_LISTING_TOOLTIP
-
allowServerListing
-
reducedDebugInfo
-
soundSourceVolumes
-
showSubtitles
-
DIRECTIONAL_AUDIO_TOOLTIP_ON
-
DIRECTIONAL_AUDIO_TOOLTIP_OFF
-
directionalAudio
-
backgroundForChatOnly
-
touchscreen
-
fullscreen
-
bobView
-
MOVEMENT_TOGGLE
-
MOVEMENT_HOLD
-
toggleCrouch
-
toggleSprint
-
skipMultiplayerWarning
public boolean skipMultiplayerWarning -
skipRealms32bitWarning
public boolean skipRealms32bitWarning -
CHAT_TOOLTIP_HIDE_MATCHED_NAMES
-
hideMatchedNames
-
showAutosaveIndicator
-
CHAT_TOOLTIP_ONLY_SHOW_SECURE
-
onlyShowSecureChat
-
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
-
hideGui
public boolean hideGui -
cameraType
-
renderDebug
public boolean renderDebug -
renderDebugCharts
public boolean renderDebugCharts -
renderFpsChart
public boolean renderFpsChart -
lastMpIp
-
smoothCamera
public boolean smoothCamera -
fov
-
TELEMETRY_TOOLTIP
-
telemetryOptInExtra
-
ACCESSIBILITY_TOOLTIP_SCREEN_EFFECT
-
screenEffectScale
-
ACCESSIBILITY_TOOLTIP_FOV_EFFECT
-
fovEffectScale
-
ACCESSIBILITY_TOOLTIP_DARKNESS_EFFECT
-
darknessEffectScale
-
ACCESSIBILITY_TOOLTIP_GLINT_SPEED
-
glintSpeed
-
ACCESSIBILITY_TOOLTIP_GLINT_STRENGTH
-
glintStrength
-
ACCESSIBILITY_TOOLTIP_DAMAGE_TILT_STRENGTH
-
damageTiltStrength
-
gamma
-
AUTO_GUI_SCALE
public static final int AUTO_GUI_SCALE- See Also:
-
MAX_GUI_SCALE_INCLUSIVE
private static final int MAX_GUI_SCALE_INCLUSIVE- See Also:
-
guiScale
-
particles
-
narrator
-
languageCode
-
soundDevice
-
onboardAccessibility
public boolean onboardAccessibility -
syncWrites
public boolean syncWrites
-
-
Constructor Details
-
Options
-
-
Method Details
-
darkMojangStudiosBackground
-
hideLightningFlash
-
sensitivity
-
renderDistance
-
simulationDistance
-
entityDistanceScaling
-
framerateLimit
-
cloudStatus
-
graphicsMode
-
ambientOcclusion
-
prioritizeChunkUpdates
-
updateResourcePacks
-
chatVisibility
-
chatOpacity
-
chatLineSpacing
-
textBackgroundOpacity
-
panoramaSpeed
-
highContrast
-
mainHand
-
chatScale
-
chatWidth
-
chatHeightUnfocused
-
chatHeightFocused
-
chatDelay
-
notificationDisplayTime
-
mipmapLevels
-
attackIndicator
-
biomeBlendRadius
-
logMouse
private static double logMouse(int p_231966_) -
unlogMouse
private static int unlogMouse(double p_231840_) -
mouseWheelSensitivity
-
rawMouseInput
-
autoJump
-
operatorItemsTab
-
autoSuggestions
-
chatColors
-
chatLinks
-
chatLinksPrompt
-
enableVsync
-
entityShadows
-
forceUnicodeFont
-
invertYMouse
-
discreteMouseScroll
-
realmsNotifications
-
allowServerListing
-
reducedDebugInfo
-
getSoundSourceVolume
-
getSoundSourceOptionInstance
-
createSoundSliderOptionInstance
private OptionInstance<Double> createSoundSliderOptionInstance(String p_250353_, SoundSource p_249262_) -
showSubtitles
-
directionalAudio
-
backgroundForChatOnly
-
touchscreen
-
fullscreen
-
bobView
-
toggleCrouch
-
toggleSprint
-
hideMatchedNames
-
showAutosaveIndicator
-
onlyShowSecureChat
-
fov
-
telemetryOptInExtra
-
screenEffectScale
-
fovEffectScale
-
darknessEffectScale
-
glintSpeed
-
glintStrength
-
damageTiltStrength
-
gamma
-
guiScale
-
particles
-
narrator
-
soundDevice
-
getBackgroundOpacity
public float getBackgroundOpacity(float p_92142_) -
getBackgroundColor
public int getBackgroundColor(float p_92171_) -
getBackgroundColor
public int getBackgroundColor(int p_92144_) -
setKey
-
processOptions
-
processOptionsForge
-
load
public void load() -
load
public void load(boolean limited) -
isTrue
-
isFalse
-
dataFix
-
save
public void save() -
broadcastOptions
public void broadcastOptions() -
setModelPart
-
isModelPartEnabled
-
toggleModelPart
-
getCloudsType
-
useNativeTransport
public boolean useNativeTransport() -
loadSelectedResourcePacks
-
setForgeKeybindProperties
private void setForgeKeybindProperties() -
getCameraType
-
setCameraType
-
readPackList
-
getFile
-
dumpOptionsForReport
-
setServerRenderDistance
public void setServerRenderDistance(int p_193771_) -
getEffectiveRenderDistance
public int getEffectiveRenderDistance() -
pixelValueLabel
-
percentValueLabel
-
genericValueLabel
-
genericValueLabel
-