net.minecraft.client

public class Options

dxs
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.apache.logging.log4j.Logger
bl
LOGGER
field_1834
LOGGER
f_92077_
private static final com.google.gson.Gson
bm
GSON
field_1823
GSON
f_92078_
private static final com.google.gson.reflect.TypeToken<List<String>>
bn
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
bo
OPTION_SPLITTER
field_1853
COLON_SPLITTER
f_92107_
private static final float
bp
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
bq
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>
br
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>
bs
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
hideMatchedNames
field_26926
hideMatchedNames
f_92084_
public boolean
ar
showAutosaveIndicator
field_35426
showAutosaveIndicator
f_193763_
public final KeyMapping
as
keyUp
field_1894
keyForward
f_92085_
public final KeyMapping
at
keyLeft
field_1913
keyLeft
f_92086_
public final KeyMapping
au
keyDown
field_1881
keyBack
f_92087_
public final KeyMapping
av
keyRight
field_1849
keyRight
f_92088_
public final KeyMapping
aw
keyJump
field_1903
keyJump
f_92089_
public final KeyMapping
ax
keyShift
field_1832
keySneak
f_92090_
public final KeyMapping
ay
keySprint
field_1867
keySprint
f_92091_
public final KeyMapping
az
keyInventory
field_1822
keyInventory
f_92092_
public final KeyMapping
aA
keySwapOffhand
field_1831
keySwapHands
f_92093_
public final KeyMapping
aB
keyDrop
field_1869
keyDrop
f_92094_
public final KeyMapping
aC
keyUse
field_1904
keyUse
f_92095_
public final KeyMapping
aD
keyAttack
field_1886
keyAttack
f_92096_
public final KeyMapping
aE
keyPickItem
field_1871
keyPickItem
f_92097_
public final KeyMapping
aF
keyChat
field_1890
keyChat
f_92098_
public final KeyMapping
aG
keyPlayerList
field_1907
keyPlayerList
f_92099_
public final KeyMapping
aH
keyCommand
field_1845
keyCommand
f_92100_
public final KeyMapping
aI
keySocialInteractions
field_26845
keySocialInteractions
f_92101_
public final KeyMapping
aJ
keyScreenshot
field_1835
keyScreenshot
f_92102_
public final KeyMapping
aK
keyTogglePerspective
field_1824
keyTogglePerspective
f_92103_
public final KeyMapping
aL
keySmoothCamera
field_1816
keySmoothCamera
f_92104_
public final KeyMapping
aM
keyFullscreen
field_1836
keyFullscreen
f_92105_
public final KeyMapping
aN
keySpectatorOutlines
field_1906
keySpectatorOutlines
f_92054_
public final KeyMapping
aO
keyAdvancements
field_1844
keyAdvancements
f_92055_
public final KeyMapping[]
aP
keyHotbarSlots
field_1852
keysHotbar
f_92056_
public final KeyMapping
aQ
keySaveHotbarActivator
field_1879
keySaveToolbarActivator
f_92057_
public final KeyMapping
aR
keyLoadHotbarActivator
field_1874
keyLoadToolbarActivator
f_92058_
public final KeyMapping[]
aS
keyMappings
field_1839
keysAll
f_92059_
protected Minecraft
aT
minecraft
field_1863
client
f_92060_
private final File
bt
optionsFile
field_1897
optionsFile
f_92110_
public Difficulty
aU
difficulty
field_1851
difficulty
f_92061_
public boolean
aV
hideGui
field_1842
hudHidden
f_92062_
private CameraType
bu
cameraType
field_26677
perspective
f_92111_
public boolean
aW
renderDebug
field_1866
debugEnabled
f_92063_
public boolean
aX
renderDebugCharts
field_1880
debugProfilerEnabled
f_92064_
public boolean
aY
renderFpsChart
field_1893
debugTpsEnabled
f_92065_
public String
aZ
lastMpIp
field_1864
lastServer
f_92066_
public boolean
ba
smoothCamera
field_1914
smoothCameraEnabled
f_92067_
public double
bb
fov
field_1826
fov
f_92068_
public float
bc
screenEffectScale
field_26675
distortionEffectScale
f_92069_
public float
bd
fovEffectScale
field_26676
fovEffectScale
f_92070_
public double
be
gamma
field_1840
gamma
f_92071_
public int
bf
guiScale
field_1868
guiScale
f_92072_
public ParticleStatus
bg
particles
field_1882
particles
f_92073_
public NarratorStatus
bh
narratorStatus
field_1896
narrator
f_92074_
public String
bi
languageCode
field_1883
language
f_92075_
public String
bj
soundDevice
field_34783
soundDevice
f_193764_
public boolean
bk
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(dxl arg0, drf$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(dxs$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(oc 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(agw arg0)
getSoundSourceVolume(SoundSource arg0)
method_1630(class_3419 arg0)
getSoundVolume(SoundCategory category)
m_92147_(C_125_ arg0)
public void
a(agw 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(bns 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(bns arg0)
isModelPartEnabled(PlayerModelPart arg0)
method_32594(class_1664 arg0)
isPlayerModelPartEnabled(PlayerModelPart part)
m_168416_(C_1144_ arg0)
public void
a(bns 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(aez 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(dwz 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(dxc 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(axc 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 viewDistance)
m_193770_(int arg0)
public int
i()
getEffectiveRenderDistance()
method_38521()
getViewDistance()
m_193772_()