Package net.minecraft.client
Class Options
java.lang.Object
net.minecraft.client.Options
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
int
boolean
private CameraType
boolean
double
double
double
double
boolean
boolean
double
double
double
boolean
private static float
boolean
boolean
float
boolean
boolean
double
float
int
boolean
double
int
private static com.google.gson.Gson
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
(package private) static org.apache.logging.log4j.Logger
protected Minecraft
int
private Set<PlayerModelPart>
double
private static com.google.common.base.Splitter
private File
int
int
boolean
boolean
boolean
boolean
static int
static int
static int
static int
static int
static int
boolean
boolean
int
boolean
float
double
boolean
boolean
boolean
boolean
private it.unimi.dsi.fastutil.objects.Object2FloatMap<SoundSource>
boolean
double
boolean
boolean
boolean
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
private CompoundTag
dataFix(CompoundTag p_92165_)
int
getBackgroundColor(float p_92171_)
int
getBackgroundColor(int p_92144_)
float
getBackgroundOpacity(float p_92142_)
getFile()
float
getSoundSourceVolume(SoundSource p_92148_)
(package private) static boolean
boolean
isModelPartEnabled(PlayerModelPart p_168417_)
(package private) static boolean
void
load()
void
loadSelectedResourcePacks(PackRepository p_92146_)
private void
processOptions(Options.FieldAccess p_168428_)
private static AmbientOcclusionStatus
readAmbientOcclusion(String p_168447_)
private static CloudStatus
readCloudStatus(String p_168445_)
private static HumanoidArm
readMainHand(String p_168449_)
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
setSoundCategoryVolume(SoundSource p_92150_, float p_92151_)
void
toggleModelPart(PlayerModelPart p_168419_, boolean p_168420_)
boolean
private static String
writeCloudStatus(CloudStatus p_168426_)
private static String
writeMainHand(HumanoidArm p_168415_)
-
Field Details
-
LOGGER
static final org.apache.logging.log4j.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:
- Constant Field Values
-
RENDER_DISTANCE_SHORT
public static final int RENDER_DISTANCE_SHORT- See Also:
- Constant Field Values
-
RENDER_DISTANCE_NORMAL
public static final int RENDER_DISTANCE_NORMAL- See Also:
- Constant Field Values
-
RENDER_DISTANCE_FAR
public static final int RENDER_DISTANCE_FAR- See Also:
- Constant Field Values
-
RENDER_DISTANCE_REALLY_FAR
public static final int RENDER_DISTANCE_REALLY_FAR- See Also:
- Constant Field Values
-
RENDER_DISTANCE_EXTREME
public static final int RENDER_DISTANCE_EXTREME- See Also:
- Constant Field Values
-
OPTION_SPLITTER
private static final com.google.common.base.Splitter OPTION_SPLITTER -
DEFAULT_VOLUME
private static final float DEFAULT_VOLUME- See Also:
- Constant Field Values
-
darkMojangStudiosBackground
public boolean darkMojangStudiosBackground -
sensitivity
public double sensitivity -
renderDistance
public int renderDistance -
entityDistanceScaling
public float entityDistanceScaling -
framerateLimit
public int framerateLimit -
renderClouds
-
graphicsMode
-
ambientOcclusion
-
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 -
reducedDebugInfo
public boolean reducedDebugInfo -
snooperEnabled
public boolean snooperEnabled -
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 -
hideMatchedNames
public boolean hideMatchedNames -
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
-
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
-