options.txt是一个用来存储所有可以在游戏选项中改变的设定的文件,同时也会存储游戏退出后需要保存的信息。它位于.minecraft文件夹中,你可以使用任何文本编辑工具来编辑它,以达到改变设定的效果。值得注意的是,大部分设定你都可以直接在游戏中更改,但仍有少数设定只能通过编辑该文件来修改。
设置
每一行代表一个设定以及一个数据,从左到右依次是设置名称、冒号、数据。控制设置中所有的按键/按钮数字都可以在键控代码中找到。
| 选项名称(英文) | 选项名称(中文) | 含义及数据范围 | 默认值 | 加入版本 |
|---|---|---|---|---|
| version | 版本 | 设置文件的版本号;用于升级默认设置。 (数字) | 1.10-pre1 (1.10) | |
| invertYMouse | 鼠标Y轴反转 | 鼠标是否在Y轴方向(上下)反转(true/false) | false | |
| mouseSensitivity | 鼠标灵敏度 | 鼠标移动距离对应画面移动的距离(0-1) | 0.5 | |
| fov | 视角宽度 | How large the field of view is (1-2) | 0.0 | |
| gamma | 伽玛值 | 亮度(0-1) | 0.0 | |
| 饱和度 | 不在游戏选项内。 | 0.0 | ||
| renderDistance | The render distance in the chunk radius from the player (2-32 without external editing of options.txt) | 12 | ||
| guiScale | Size of interfaces (0-3: 'Auto', 'Small', 'Normal', 'Large') | 0 (自动) | ||
| particles | Amount of particles (such as rain, potion effects, etc.) (0-2: 'All', 'Decreased', 'Minimal') | 0 (所有) | ||
| 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) | false | ||
| difficulty | Game difficulty (0-3: Peaceful, Easy, Normal, Hard) | 2 (普通) | ||
| fancyGraphics | Whether fancy (more detailed) graphics are turned on (true/false) | true | ||
| ao | Smooth lighting (0-2: 关,较少,最多) | 2 (Maximum) | ||
| renderClouds | Whether to display clouds (true/fast/false) | true | ||
| resourcePacks | A list of active resource packs, with pack names in quotes (string); empty if only default pack is loaded | [] | ||
| incompatibleResourcePacks | A list of the active resource packs that are also marked as incompatible with the current Minecraft version; empty if none are marked as incompatible | [] | ||
| 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) | false | ||
| 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 | ||
| mipmapLevels | Amount by which distant textures are smoothed (0-4) | 4 | ||
| forceUnicodeFont | Whether Unicode font should be used (true/false) | false | ||
| reducedDebugInfo | Whether the information shown on the Debug screen will be reduced (true/false) | false | ||
| useNativeTransport | Whether to use a Netty EpollSocketChannel for connections to servers instead of a NioSocketChannel (only applies if EPOLL is available on the user's system) | true | ||
| entityShadows | Whether to display entity shadows (true/false) | true | ||
| mainHand | Whether the main hand will display as left or right (left/right) | right | ||
| attackIndicator | When hitting, how the attack indicator is shown on screen (0-2) | 1 (Crosshair) | ||
| showSubtitles | If subtitles are shown (true/false) | false | ||
| realmsNotifications | Whether Realms invites are alerted on the main menu (true/false) | true | ||
| enableWeakAttacks | Whether players can hit before their attack cooldown is 75% charged; currently has no effect |
false | ||
| autoJump | Whether auto-jump is enabled | true | ||
| narrator | Setting of the Narrator (0-3) | 0 | 17w06a (1.12) | |
| tutorialStep | Next stage of Tutorial hints to display | movement | 17w06a (1.12) | |
| 控制 | ||||
| key_key.attack | 攻击键 | -100 (鼠标左键) | ||
| key_key.use | 使用键 | -99 (鼠标右键) | ||
| 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 (空格键) | ||
| key_key.sneak | Sneak control | 42 (左shift) | ||
| key_key.sprint | Sprint control | 29 (左ctrl) | ||
| key_key.drop | Drop control | 16 (Q) | ||
| key_key.inventory | Inventory control | 18 (E) | ||
| key_key.chat | Chat control | 20 (T) | ||
| key_key.playerlist | List Players control | 15 (tab) | ||
| key_key.pickItem | Pick Block control | -98 (鼠标中键) | ||
| key_key.command | Command control | 53 (斜杠) | ||
| key_key.screenshot | Screenshot control | 60 (F2) | ||
| key_key.togglePerspective | Perspective control | 63 (F5) | ||
| key_key.smoothCamera | Mouse Smoothing control | 0 (无) | ||
| key_key.fullscreen | Fullscreen control | 87 (F11) | ||
| key_key.spectatorOutlines | Visibility of player outlines in Spectator Mode control | 0 (无) | ||
| key_key.swapHands | Swapping of items between both hands control | 33 (F) | ||
| key_key.saveToolbarActivator | Save current toolbar to a slot (in Creative Mode) | 46 (C) | 17w06a (1.12) | |
| key_key.loadToolbarActivator | Load toolbar from a slot (in Creative Mode) | 45 (X) | 17w06a (1.12) | |
| key_key.advancements | Open the Advancements screen | 38 (L) | 17w06a (1.12) | |
| 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) | ||
| 音乐和音效 | ||||
| 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 | ||
| soundCategory_voice | The volume of voices (0-1) | 1.0 | ||
| 自定义皮肤 | ||||
| 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 | ||
已移除的设置
| 选项名称(英文) | 含义及数据范围 | 默认值 | 移除版本 |
|---|---|---|---|
| anisotropicFiltering | 1 | 14w25a (1.8) | |
| allowBlockAlternatives | Whether alternative block models will be used (true/false) | true | 15w31a (1.9) |
| streamBytesPerPixel | The total bytes-per-pixel (BPP) that your livestream will output (0.0-1.0). | 0.5 | 15w31a (1.9) |
| streamMicVolume | Your microphone's output volume when your livestream (0.0/1.0). | 1.0 | 15w31a (1.9) |
| streamSystemVolume | Your system's output volume when you livestream (0.0/1.0). | 1.0 | 15w31a (1.9) |
| streamKbps | The bitrate (Kbps) of your video when you livestream. | 0.5412844 | 15w31a (1.9) |
| streamFps | The output FPS of your stream. | 0.31690142 | 15w31a (1.9) |
| streamCompression | If your stream's video output will be compressed or not (0/False, 1/True). | 1 | 15w31a (1.9) |
| streamSendMetadata | If you want to send extra metadata in your stream (true/false). | true | 15w31a (1.9) |
| streamPreferredServer | The preferred ingest server of your livestream. | 15w31a (1.9) | |
| streamChatEnabled | If your Twitch chat will be copied in your Minecraft chat (0/False, 1/True). | 0 | 15w31a (1.9) |
| streamChatUserFilter | If your Twitch chat is copied in your Minecraft chat, is it going to be censored (0/False, 1/True). | 0 | 15w31a (1.9) |
| streamMicToggleBehavior | Will a hotkey be used to toggle your microphone's output (0/False, 1/True). | 0 | 15w31a (1.9) |
| key_key.streamStartStop | Start/Stop Stream control | 64 (F6) | 15w31a (1.9) |
| key_key.streamPauseUnpause | Pause/Unpause Stream control | 65 (F7) | 15w31a (1.9) |
| key_key.streamCommercial | Stream Commercial control | 0 (无) | 15w31a (1.9) |
| key_key.streamToggleMic | Microphone input control | 0 (无) | 15w31a (1.9) |
| 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 | true | 17w06a (1.12) |
zh:Options.txt