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
boolean
private static final Component
private final OptionInstance<Boolean>
private final OptionInstance<AmbientOcclusionStatus>
private final OptionInstance<AttackIndicatorStatus>
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 static final Component
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<ChatPreviewStatus>
private final OptionInstance<Double>
private final OptionInstance<ChatVisiblity>
private final OptionInstance<Double>
private final OptionInstance<CloudStatus>
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 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
boolean
private final OptionInstance<Boolean>
private final OptionInstance<Boolean>
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>
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<Boolean>
private static final com.google.common.base.Splitter
private final File
int
int
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 it.unimi.dsi.fastutil.objects.Object2FloatMap<SoundSource>
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 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()
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
setSoundCategoryVolume
(SoundSource p_92150_, float p_92151_) void
toggleModelPart
(PlayerModelPart p_168419_, boolean p_168420_) private static int
unlogMouse
(double p_231840_) 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
-
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
-
chatWidth
-
chatHeightUnfocused
-
chatHeightFocused
-
chatDelay
-
mipmapLevels
-
sourceVolumes
-
useNativeTransport
public boolean useNativeTransport -
attackIndicator
-
tutorialStep
-
joinedFirstServer
public boolean joinedFirstServer -
hideBundleTutorial
public boolean hideBundleTutorial -
biomeBlendRadius
-
mouseWheelSensitivity
-
rawMouseInput
-
glDebugVerbosity
public int glDebugVerbosity -
autoJump
-
autoSuggestions
-
chatColors
-
chatLinks
-
chatLinksPrompt
-
enableVsync
-
entityShadows
-
forceUnicodeFont
-
invertYMouse
-
discreteMouseScroll
-
realmsNotifications
-
ALLOW_SERVER_LISTING_TOOLTIP
-
allowServerListing
-
reducedDebugInfo
-
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_PREVIEW_OFF_TOOLTIP
-
CHAT_PREVIEW_LIVE_TOOLTIP
-
CHAT_PREVIEW_CONFIRM_TOOLTIP
-
chatPreview
-
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
-
ACCESSIBILITY_TOOLTIP_SCREEN_EFFECT
-
screenEffectScale
-
ACCESSIBILITY_TOOLTIP_FOV_EFFECT
-
fovEffectScale
-
ACCESSIBILITY_TOOLTIP_DARKNESS_EFFECT
-
darknessEffectScale
-
gamma
-
guiScale
-
particles
-
narrator
-
languageCode
-
soundDevice
-
syncWrites
public boolean syncWrites
-
-
Constructor Details
-
Options
-
-
Method Details
-
darkMojangStudiosBackground
-
hideLightningFlash
-
sensitivity
-
renderDistance
-
simulationDistance
-
entityDistanceScaling
-
framerateLimit
-
cloudStatus
-
graphicsMode
-
ambientOcclusion
-
prioritizeChunkUpdates
-
chatVisibility
-
chatOpacity
-
chatLineSpacing
-
textBackgroundOpacity
-
mainHand
-
chatScale
-
chatWidth
-
chatHeightUnfocused
-
chatHeightFocused
-
chatDelay
-
mipmapLevels
-
attackIndicator
-
biomeBlendRadius
-
logMouse
private static double logMouse(int p_231966_) -
unlogMouse
private static int unlogMouse(double p_231840_) -
mouseWheelSensitivity
-
rawMouseInput
-
autoJump
-
autoSuggestions
-
chatColors
-
chatLinks
-
chatLinksPrompt
-
enableVsync
-
entityShadows
-
forceUnicodeFont
-
invertYMouse
-
discreteMouseScroll
-
realmsNotifications
-
allowServerListing
-
reducedDebugInfo
-
showSubtitles
-
directionalAudio
-
backgroundForChatOnly
-
touchscreen
-
fullscreen
-
bobView
-
toggleCrouch
-
toggleSprint
-
hideMatchedNames
-
showAutosaveIndicator
-
chatPreview
-
onlyShowSecureChat
-
fov
-
screenEffectScale
-
fovEffectScale
-
darknessEffectScale
-
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() -
getSoundSourceVolume
-
setSoundCategoryVolume
-
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
-