net.minecraft.client

public class Options

dyv
net.minecraft.client.Options
net.minecraft.class_315
net.minecraft.client.option.GameOptions
net.minecraft.src.C_3401_

Field summary

Modifier and TypeField
static final org.slf4j.Logger
bm
LOGGER
field_1834
LOGGER
f_92077_
private static final com.google.gson.Gson
bn
GSON
field_1823
GSON
f_92078_
private static final com.google.gson.reflect.TypeToken<List<String>>
bo
RESOURCE_PACK_TYPE
field_1859
STRING_LIST_TYPE
f_92079_
public static final int
a
RENDER_DISTANCE_TINY
field_32149
field_32149
f_168406_
public static final int
b
RENDER_DISTANCE_SHORT
field_32150
field_32150
f_168407_
public static final int
c
RENDER_DISTANCE_NORMAL
field_32152
field_32152
f_168409_
public static final int
d
RENDER_DISTANCE_FAR
field_32153
field_32153
f_168410_
public static final int
e
RENDER_DISTANCE_REALLY_FAR
field_32154
field_32154
f_168411_
public static final int
f
RENDER_DISTANCE_EXTREME
field_32155
field_32155
f_168412_
private static final com.google.common.base.Splitter
bp
OPTION_SPLITTER
field_1853
COLON_SPLITTER
f_92107_
private static final float
bq
DEFAULT_VOLUME
field_32151
field_32151
f_168408_
public static final String
g
DEFAULT_SOUND_DEVICE
field_34785
field_34785
f_193766_
public boolean
h
darkMojangStudiosBackground
field_32156
monochromeLogo
f_168413_
public boolean
i
hideLightningFlashes
field_34786
hideLightningFlashes
f_193767_
public double
j
sensitivity
field_1843
mouseSensitivity
f_92053_
public int
k
renderDistance
field_1870
viewDistance
f_92106_
public int
l
simulationDistance
field_34959
simulationDistance
f_193768_
private int
br
serverRenderDistance
field_34784
serverViewDistance
f_193765_
public float
m
entityDistanceScaling
field_24214
entityDistanceScaling
f_92112_
public int
n
framerateLimit
field_1909
maxFps
f_92113_
public CloudStatus
o
renderClouds
field_1814
cloudRenderMode
f_92114_
public GraphicsStatus
p
graphicsMode
field_25444
graphicsMode
f_92115_
public AmbientOcclusionStatus
q
ambientOcclusion
field_1841
ao
f_92116_
public PrioritizeChunkUpdates
r
prioritizeChunkUpdates
field_34787
chunkBuilderMode
f_193769_
public List<String>
s
resourcePacks
field_1887
resourcePacks
f_92117_
public List<String>
t
incompatibleResourcePacks
field_1846
incompatibleResourcePacks
f_92118_
public ChatVisiblity
u
chatVisibility
field_1877
chatVisibility
f_92119_
public double
v
chatOpacity
field_1820
chatOpacity
f_92120_
public double
w
chatLineSpacing
field_23932
chatLineSpacing
f_92121_
public double
x
textBackgroundOpacity
field_18726
textBackgroundOpacity
f_92122_
public String
y
fullscreenVideoModeString
field_1828
fullscreenResolution
f_92123_
public boolean
z
hideServerAddress
field_1815
hideServerAddress
f_92124_
public boolean
A
advancedItemTooltips
field_1827
advancedItemTooltips
f_92125_
public boolean
B
pauseOnLostFocus
field_1837
pauseOnLostFocus
f_92126_
private final Set<PlayerModelPart>
bs
modelParts
field_1892
enabledPlayerModelParts
f_92108_
public HumanoidArm
C
mainHand
field_1829
mainArm
f_92127_
public int
D
overrideWidth
field_1872
overrideWidth
f_92128_
public int
E
overrideHeight
field_1885
overrideHeight
f_92129_
public boolean
F
heldItemTooltips
field_1905
heldItemTooltips
f_92130_
public double
G
chatScale
field_1908
chatScale
f_92131_
public double
H
chatWidth
field_1915
chatWidth
f_92132_
public double
I
chatHeightUnfocused
field_1825
chatHeightUnfocused
f_92133_
public double
J
chatHeightFocused
field_1838
chatHeightFocused
f_92134_
public double
K
chatDelay
field_23933
chatDelay
f_92135_
public int
L
mipmapLevels
field_1856
mipmapLevels
f_92027_
private final it.unimi.dsi.fastutil.objects.Object2FloatMap<SoundSource>
bt
sourceVolumes
field_1916
soundVolumeLevels
f_92109_
public boolean
M
useNativeTransport
field_1876
useNativeTransport
f_92028_
public AttackIndicatorStatus
N
attackIndicator
field_1895
attackIndicator
f_92029_
public TutorialSteps
O
tutorialStep
field_1875
tutorialStep
f_92030_
public boolean
P
joinedFirstServer
field_26844
joinedFirstServer
f_92031_
public boolean
Q
hideBundleTutorial
field_28777
hideBundleTutorial
f_168405_
public int
R
biomeBlendRadius
field_1878
biomeBlendRadius
f_92032_
public double
S
mouseWheelSensitivity
field_1889
mouseWheelSensitivity
f_92033_
public boolean
T
rawMouseInput
field_20308
rawMouseInput
f_92034_
public int
U
glDebugVerbosity
field_1901
glDebugVerbosity
f_92035_
public boolean
V
autoJump
field_1848
autoJump
f_92036_
public boolean
W
autoSuggestions
field_1873
autoSuggestions
f_92037_
public boolean
X
chatColors
field_1900
chatColors
f_92038_
public boolean
Y
chatLinks
field_1911
chatLinks
f_92039_
public boolean
Z
chatLinksPrompt
field_1817
chatLinksPrompt
f_92040_
public boolean
aa
enableVsync
field_1884
enableVsync
f_92041_
public boolean
ab
entityShadows
field_1888
entityShadows
f_92042_
public boolean
ac
forceUnicodeFont
field_1819
forceUnicodeFont
f_92043_
public boolean
ad
invertYMouse
field_1865
invertYMouse
f_92044_
public boolean
ae
discreteMouseScroll
field_19244
discreteMouseScroll
f_92045_
public boolean
af
realmsNotifications
field_1830
realmsNotifications
f_92046_
public boolean
ag
allowServerListing
field_35637
allowServerListing
f_193762_
public boolean
ah
reducedDebugInfo
field_1910
reducedDebugInfo
f_92047_
public boolean
ai
showSubtitles
field_1818
showSubtitles
f_92049_
public boolean
aj
backgroundForChatOnly
field_18725
backgroundForChatOnly
f_92050_
public boolean
ak
touchscreen
field_1854
touchscreen
f_92051_
public boolean
al
fullscreen
field_1857
fullscreen
f_92052_
public boolean
am
bobView
field_1891
bobView
f_92080_
public boolean
an
toggleCrouch
field_21332
sneakToggled
f_92081_
public boolean
ao
toggleSprint
field_21333
sprintToggled
f_92082_
public boolean
ap
skipMultiplayerWarning
field_21840
skipMultiplayerWarning
f_92083_
public boolean
aq
skipRealms32bitWarning
field_37208
skipRealms32BitWarning
f_210816_
public boolean
ar
hideMatchedNames
field_26926
hideMatchedNames
f_92084_
public boolean
as
showAutosaveIndicator
field_35426
showAutosaveIndicator
f_193763_
public final KeyMapping
at
keyUp
field_1894
forwardKey
f_92085_
public final KeyMapping
au
keyLeft
field_1913
leftKey
f_92086_
public final KeyMapping
av
keyDown
field_1881
backKey
f_92087_
public final KeyMapping
aw
keyRight
field_1849
rightKey
f_92088_
public final KeyMapping
ax
keyJump
field_1903
jumpKey
f_92089_
public final KeyMapping
ay
keyShift
field_1832
sneakKey
f_92090_
public final KeyMapping
az
keySprint
field_1867
sprintKey
f_92091_
public final KeyMapping
aA
keyInventory
field_1822
inventoryKey
f_92092_
public final KeyMapping
aB
keySwapOffhand
field_1831
swapHandsKey
f_92093_
public final KeyMapping
aC
keyDrop
field_1869
dropKey
f_92094_
public final KeyMapping
aD
keyUse
field_1904
useKey
f_92095_
public final KeyMapping
aE
keyAttack
field_1886
attackKey
f_92096_
public final KeyMapping
aF
keyPickItem
field_1871
pickItemKey
f_92097_
public final KeyMapping
aG
keyChat
field_1890
chatKey
f_92098_
public final KeyMapping
aH
keyPlayerList
field_1907
playerListKey
f_92099_
public final KeyMapping
aI
keyCommand
field_1845
commandKey
f_92100_
public final KeyMapping
aJ
keySocialInteractions
field_26845
socialInteractionsKey
f_92101_
public final KeyMapping
aK
keyScreenshot
field_1835
screenshotKey
f_92102_
public final KeyMapping
aL
keyTogglePerspective
field_1824
togglePerspectiveKey
f_92103_
public final KeyMapping
aM
keySmoothCamera
field_1816
smoothCameraKey
f_92104_
public final KeyMapping
aN
keyFullscreen
field_1836
fullscreenKey
f_92105_
public final KeyMapping
aO
keySpectatorOutlines
field_1906
spectatorOutlinesKey
f_92054_
public final KeyMapping
aP
keyAdvancements
field_1844
advancementsKey
f_92055_
public final KeyMapping[]
aQ
keyHotbarSlots
field_1852
hotbarKeys
f_92056_
public final KeyMapping
aR
keySaveHotbarActivator
field_1879
saveToolbarActivatorKey
f_92057_
public final KeyMapping
aS
keyLoadHotbarActivator
field_1874
loadToolbarActivatorKey
f_92058_
public final KeyMapping[]
aT
keyMappings
field_1839
allKeys
f_92059_
protected Minecraft
aU
minecraft
field_1863
client
f_92060_
private final File
bu
optionsFile
field_1897
optionsFile
f_92110_
public Difficulty
aV
difficulty
field_1851
difficulty
f_92061_
public boolean
aW
hideGui
field_1842
hudHidden
f_92062_
private CameraType
bv
cameraType
field_26677
perspective
f_92111_
public boolean
aX
renderDebug
field_1866
debugEnabled
f_92063_
public boolean
aY
renderDebugCharts
field_1880
debugProfilerEnabled
f_92064_
public boolean
aZ
renderFpsChart
field_1893
debugTpsEnabled
f_92065_
public String
ba
lastMpIp
field_1864
lastServer
f_92066_
public boolean
bb
smoothCamera
field_1914
smoothCameraEnabled
f_92067_
public double
bc
fov
field_1826
fov
f_92068_
public float
bd
screenEffectScale
field_26675
distortionEffectScale
f_92069_
public float
be
fovEffectScale
field_26676
fovEffectScale
f_92070_
public double
bf
gamma
field_1840
gamma
f_92071_
public int
bg
guiScale
field_1868
guiScale
f_92072_
public ParticleStatus
bh
particles
field_1882
particles
f_92073_
public NarratorStatus
bi
narratorStatus
field_1896
narrator
f_92074_
public String
bj
languageCode
field_1883
language
f_92075_
public String
bk
soundDevice
field_34783
soundDevice
f_193764_
public boolean
bl
syncWrites
field_25623
syncChunkWrites
f_92076_

Constructor summary

ModifierConstructor
public (Minecraft client, File optionsFile)

Method summary

Modifier and TypeMethod
public float
a(float arg0)
getBackgroundOpacity(float arg0)
method_19343(float arg0)
getTextBackgroundOpacity(float fallback)
m_92141_(float arg0)
public int
b(float arg0)
getBackgroundColor(float arg0)
method_19345(float arg0)
getTextBackgroundColor(float fallbackOpacity)
m_92170_(float arg0)
public int
a(int arg0)
getBackgroundColor(int arg0)
method_19344(int arg0)
getTextBackgroundColor(int fallbackColor)
m_92143_(int arg0)
public void
a(dyo arg0, dsh$a arg1)
setKey(KeyMapping arg0, InputConstants$Key arg1)
method_1641(class_304 arg0, class_3675$class_306 arg1)
setKeyCode(KeyBinding key, InputUtil$Key code)
m_92159_(C_3387_ p_92161_, C_3140_$C_3142_ arg1)
private void
a(dyv$a arg0)
processOptions(Options$FieldAccess arg0)
method_33666(class_315$class_5823 arg0)
accept(GameOptions$Visitor visitor)
m_168427_(C_3401_$C_141581_ arg0)
public void
a()
load()
method_1636()
load()
m_92140_()
static boolean
a(String arg0)
isTrue(String arg0)
method_32595(String arg0)
isTrue(String value)
m_168435_(String p_168436_)
static boolean
b(String arg0)
isFalse(String arg0)
method_32596(String arg0)
isFalse(String value)
m_168440_(String p_168441_)
private CompoundTag
a(ok arg0)
dataFix(CompoundTag arg0)
method_1626(class_2487 arg0)
update(NbtCompound nbt)
m_92164_(C_4917_ arg0)
public void
b()
save()
method_1640()
write()
m_92169_()
public float
a(ahl arg0)
getSoundSourceVolume(SoundSource arg0)
method_1630(class_3419 arg0)
getSoundVolume(SoundCategory category)
m_92147_(C_125_ arg0)
public void
a(ahl arg0, float arg1)
setSoundCategoryVolume(SoundSource arg0, float arg1)
method_1624(class_3419 arg0, float arg1)
setSoundVolume(SoundCategory category, float volume)
m_92149_(C_125_ p_92151_, float arg1)
public void
c()
broadcastOptions()
method_1643()
sendClientSettings()
m_92172_()
private void
b(bok arg0, boolean arg1)
setModelPart(PlayerModelPart arg0, boolean arg1)
method_1635(class_1664 arg0, boolean arg1)
setPlayerModelPart(PlayerModelPart part, boolean enabled)
m_92154_(C_1144_ p_92156_, boolean arg1)
public boolean
a(bok arg0)
isModelPartEnabled(PlayerModelPart arg0)
method_32594(class_1664 arg0)
isPlayerModelPartEnabled(PlayerModelPart part)
m_168416_(C_1144_ arg0)
public void
a(bok arg0, boolean arg1)
toggleModelPart(PlayerModelPart arg0, boolean arg1)
method_1631(class_1664 arg0, boolean arg1)
togglePlayerModelPart(PlayerModelPart part, boolean enabled)
m_168418_(C_1144_ p_168420_, boolean arg1)
public CloudStatus
d()
getCloudsType()
method_1632()
getCloudRenderMode()
m_92174_()
public boolean
e()
useNativeTransport()
method_1639()
shouldUseNativeTransport()
m_92175_()
public void
a(afn arg0)
loadSelectedResourcePacks(PackRepository arg0)
method_1627(class_3283 arg0)
addResourcePackProfilesToManager(ResourcePackManager manager)
m_92145_(C_62_ arg0)
public CameraType
f()
getCameraType()
method_31044()
getPerspective()
m_92176_()
public void
a(dyc arg0)
setCameraType(CameraType arg0)
method_31043(class_5498 arg0)
setPerspective(Perspective perspective)
m_92157_(C_3374_ arg0)
private static List<String>
c(String arg0)
readPackList(String arg0)
method_33671(String arg0)
parseList(String content)
m_168442_(String p_168443_)
private static CloudStatus
d(String arg0)
readCloudStatus(String arg0)
method_33672(String arg0)
loadCloudRenderMode(String literal)
m_168444_(String p_168445_)
private static String
a(dyf arg0)
writeCloudStatus(CloudStatus arg0)
method_33665(class_4063 arg0)
saveCloudRenderMode(CloudRenderMode mode)
m_168425_(C_3376_ p_168426_)
private static AmbientOcclusionStatus
e(String arg0)
readAmbientOcclusion(String arg0)
method_33674(String arg0)
loadAo(String value)
m_168446_(String p_168447_)
private static HumanoidArm
f(String arg0)
readMainHand(String arg0)
method_33675(String arg0)
loadArm(String arm)
m_168448_(String p_168449_)
private static String
a(axt arg0)
writeMainHand(HumanoidArm arg0)
method_33663(class_1306 arg0)
saveArm(Arm arm)
m_168414_(C_520_ p_168415_)
public File
g()
getFile()
method_37294()
getOptionsFile()
m_168450_()
public String
h()
dumpOptionsForReport()
method_37295()
collectProfiledOptions()
m_168451_()
public void
b(int arg0)
setServerRenderDistance(int arg0)
method_38520(int arg0)
setServerViewDistance(int serverViewDistance)
m_193770_(int arg0)
public int
i()
getEffectiveRenderDistance()
method_38521()
getViewDistance()
m_193772_()