Package net.minecraft.client
Class Options
java.lang.Object
net.minecraft.client.Options
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
boolean
int
boolean
private CameraType
boolean
double
double
double
double
boolean
boolean
double
double
double
boolean
static final String
private static final float
boolean
boolean
float
boolean
boolean
double
float
int
boolean
double
int
private static final com.google.gson.Gson
int
boolean
boolean
boolean
boolean
boolean
boolean
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
protected Minecraft
int
private final Set<PlayerModelPart>
double
private static final com.google.common.base.Splitter
private final File
int
int
boolean
boolean
boolean
boolean
static final int
static final int
static final int
static final int
static final int
static final int
boolean
boolean
int
boolean
float
double
private int
boolean
boolean
int
boolean
boolean
boolean
private final 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_) int
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
setServerRenderDistance
(int p_193771_) 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.slf4j.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:
-
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:
-
darkMojangStudiosBackground
public boolean darkMojangStudiosBackground -
hideLightningFlashes
public boolean hideLightningFlashes -
sensitivity
public double sensitivity -
renderDistance
public int renderDistance -
simulationDistance
public int simulationDistance -
serverRenderDistance
private int serverRenderDistance -
entityDistanceScaling
public float entityDistanceScaling -
framerateLimit
public int framerateLimit -
renderClouds
-
graphicsMode
-
ambientOcclusion
-
prioritizeChunkUpdates
-
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 -
allowServerListing
public boolean allowServerListing -
reducedDebugInfo
public boolean reducedDebugInfo -
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 -
skipRealms32bitWarning
public boolean skipRealms32bitWarning -
hideMatchedNames
public boolean hideMatchedNames -
showAutosaveIndicator
public boolean showAutosaveIndicator -
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
-
soundDevice
-
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
-
setServerRenderDistance
public void setServerRenderDistance(int p_193771_) -
getEffectiveRenderDistance
public int getEffectiveRenderDistance()
-