From Minecraft Wiki
Jump to: navigation, search

options.txt is the file that stores all the options changeable in the in-game options menu and various other information the game needs to store after quitting. It is found in the .minecraft folder and can be edited with any basic text editor to change your options. Most settings can be changed in-game, but a few can only be changed by editing this file.


Each line represents a single option or piece of data, with the option followed by a colon followed by the value of that option.

Option Name Meaning and Range of Values Default Value
invertYMouse Whether mouse is inverted or not (true/false) false
mouseSensitivity How much a mouse movement changes the position of the camera (0-1) 0.5
fov How large the field of view is (0-1) 0.0
gamma Brightness (0-1) 0.0
saturation No in-game control 0.0
renderDistance The render distance in the chunk radius from the player (2-16 without external editing of options.txt) 8
guiScale Size of interfaces (0-3: 'Auto', 'Small', 'Normal', 'Large') 0 (Auto)
particles Amount of particles (such as rain, potion effects, etc.) (0-2: 'All', 'Decreased', 'Minimal') 0 (All)
bobView Whether or not the camera bobs up and down as the player walks (true/false) true
anaglyph3d Whether 3D mode is turned on (true/false) false
maxFps The maximum framerate 120
fboEnable Whether Framebuffer Objects is turned on (true/false) true
difficulty Game difficulty (0-3: Peaceful, Easy, Normal, Hard) 2 (Normal)
fancyGraphics Whether fancy (more detailed) graphics are turned on (true/false) true
ao Smooth lighting (0-2: Off, Minimum, Maximum) 2 (Maximum)
renderClouds Whether to display clouds (true/false) true
resourcePacks A list of the selected resource packs, with the pack's name in quotes (string); empty if only default pack is loaded []
lastServer Address of last server used with Direct Connect (string)
lang Language to be used (string) en_US
chatVisibility What is seen in chat (0-2: 'Shown', 'Commands only', 'Hidden') 0 (Shown)
chatColors Whether colored chat is allowed (true/false) true
chatLinks Whether links show as links or just text in the chat (true/false [links/plaintext]) true
chatLinksPrompt Whether clicking on links in chat will need confirmation before opening them (true/false) true
chatOpacity Opacity of the chat (0-1) 1.0
snooperEnabled Whether snooper functionality is turned on (true/false) true
fullscreen Whether the game will attempt to go fullscreen at startup (true/false) false
enableVsync Whether v-sync (vertical synchronization) is enabled (true/false) true
useVbo Whether Vertex Buffer Objects is turned on (true/false) false
hideServerAddress Whether server addresses are hidden by default; toggled by F1 when in Multiplayer menu (true/false) false
advancedItemTooltips Whether mousing over items in the inventory shows its ID and durability (true/false); toggled by F3+H false
pauseOnLostFocus Whether switching out of Minecraft without pressing Esc or opening an in-game interface automatically pauses the game (true/false); toggled by F3 + P true
touchscreen Whether touchscreen controls are used (true/false) false
overrideWidth Width to open Minecraft up with in pixels (0 means default to Minecraft's settings); no in-game control 0
overrideHeight Height to open Minecraft up with in pixels (0 means default to Minecraft's settings); no in-game control 0
heldItemTooltips Whether switching between items shows the name of the item (true/false); no in-game control true
chatHeightFocused When you press the chat button, how tall the chat span is (0-1) 1.0
chatHeightUnfocused How tall the maximum chat span is, when the chat button is not pressed (0-1) 0.44366196
chatScale The scale/size of the text in the chat (0-1) 1.0
chatWidth The span width of the chat (0-1) 1.0
showInventoryAchievementHint Whether the "Press 'E' to open your inventory" text will be shown in the upper right corner of the screen upon initially spawning (true/false); no in-game control false
mipmapLevels Amount by which distant textures are smoothed 4
anisotropicFiltering 1
forceUnicodeFont Whether Unicode font should be used (true/false) false
allowBlockAlternatives Whether alternative block models will be used (true/false) true
reducedDebugInfo Whether the information shown on the Debug screen will be reduced (true/false) false
streamBytesPerPixel 0.5
streamMicVolume 1.0
streamSystemVolume 1.0
streamKbps 0.5412844
streamFps 0.31690142
streamCompression 1
streamSendMetadata (true/false) true
streamChatEnabled 0
streamChatUserFilter 0
streamMicToggleBehavior 0
key_key.attack Attack control -100 (left mouse)
key_key.use Use Item control -99 (right mouse)
key_key.forward Forward control 17 (W)
key_key.left Left control 30 (A)
key_key.back Back control 31 (S)
key_key.right Right control 32 (D)
key_key.jump Jump control 57 (space bar)
key_key.sneak Sneak control 42 (left shift)
key_key.drop Drop control 16 (Q)
key_key.inventory Inventory control 18 (E) Chat control 20 (T)
key_key.playerlist List Players control 15 (tab)
key_key.pickItem Pick Block control -98 (middle mouse)
key_key.command Command control 53 (forward slash)
key_key.screenshot Screenshot control 60 (F2)
key_key.togglePerspective Perspective control 63 (F5)
key_key.smoothCamera Mouse Smoothing control 0 (none)
key_key.sprint Sprint control 29 (left control)
key_key.streamStartStop Start/Stop Stream control 64 (F6)
key_key.streamPauseUnpause Pause/Unpause Stream control 65 (F7)
key_key.streamCommercial Stream Commercial control 0 (none)
key_key.streamToggleMic Microphone input control 0 (none)
key_key.fullscreen Fullscreen control 87 (F11)
key_key.spectatorOutlines Visibility of player outlines in Spectator Mode control 0 (none)
key_key.hotbar.1 Hotbar Slot 1 control 2 (1)
key_key.hotbar.2 Hotbar Slot 2 control 3 (2)
key_key.hotbar.3 Hotbar Slot 3 control 4 (3)
key_key.hotbar.4 Hotbar Slot 4 control 5 (4)
key_key.hotbar.5 Hotbar Slot 5 control 6 (5)
key_key.hotbar.6 Hotbar Slot 6 control 7 (6)
key_key.hotbar.7 Hotbar Slot 7 control 8 (7)
key_key.hotbar.8 Hotbar Slot 8 control 9 (8)
key_key.hotbar.9 Hotbar Slot 9 control 10 (9)
Music and Sound
soundCategory_master The volume of all sounds (0-1) 1.0
soundCategory_music The volume of gameplay music (0-1) 1.0
soundCategory_record The volume of music/sounds from Jukeboxes and Note Blocks (0-1) 1.0
soundCategory_weather The volume of rain and thunder (0-1) 1.0
soundCategory_block The volume of blocks (0-1) 1.0
soundCategory_hostile The volume of hostile and neutral mobs (0-1) 1.0
soundCategory_neutral The volume of passive mobs (0-1) 1.0
soundCategory_player The volume of players (0-1) 1.0
soundCategory_ambient The volume of cave sounds and fireworks (0-1) 1.0
Skin Customization
modelPart_cape Whether your cape is shown (true/false) true
modelPart_jacket Whether the "Jacket" layer of your skin is shown (true/false) true
modelPart_left_sleeve Whether the "Left Sleeve" layer of your skin is shown (true/false) true
modelPart_right_sleeve Whether the "Right Sleeve" layer of your skin is shown (true/false) true
modelPart_left_pants_leg Whether the "Left Pants Leg" layer of your skin is shown (true/false) true
modelPart_right_pants_leg Whether the "Right Pants Leg" layer of your skin is shown (true/false) true
modelPart_hat Whether the "Hat" layer of your skin is shown (true/false) true

A list of all available key/button numbers is available at key codes.