Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Debug hotkey: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{about|the hotkey|other uses|Debug}}
{{about|the hotkey|other uses|Debug}}
{{exclusive|java}}
{{exclusive|java}}
[[File:Debug controls.png|thumb|The list of debug keybinds as shown in-game under {{UI|[[Options]]|Controls|Key Binds}}.]]
[[File:Debug controls.png|thumb|The list of debug keybinds as shown in-game under {{UI|[[Options]]|Controls|Key Binds}}{{until|java 26.3}}]]
A '''debug hotkey''' (or '''key binding''' in game) is used to access hidden information and trigger advanced settings in the game through {{Keys|F3 + ''<key>''}}, where ''key'' is usually a letter (A&ndash;Z), or just a single {{Key|F3}}, which is used to open the [[Minecraft:debug screen]]. When {{Key|F3}} is used as a modifier for debug hotkey combination, the debug screen is not opened (or closed if enabled).
A '''debug hotkey''' (or '''key binding''' in game) is used to access hidden information and trigger advanced settings in the game through {{Keys|F3 + ''<key>''}}, where ''key'' is usually a letter (A&ndash;Z), or just a single {{Key|F3}}, which is used to open the [[Minecraft:debug screen]]. When {{Key|F3}} is used as a modifier for debug hotkey combination, the debug screen is not opened (or closed if enabled).


Line 10: Line 10:
__TOC__
__TOC__
{{clear}}
{{clear}}
== List of debug hotkeys ==
== List of debug hotkeys ==
{| class="wikitable"
{| class="wikitable"
Line 95: Line 96:
| Presents the client's game version information, in the order of the version's ID, the version's name, [[Minecraft:data version]], series, [[Minecraft:protocol version]], build time, [[Minecraft:Pack format|resource pack and data pack formats]], and whether the version is stable or not. Further information on [[Minecraft:version.json]].
| Presents the client's game version information, in the order of the version's ID, the version's name, [[Minecraft:data version]], series, [[Minecraft:protocol version]], build time, [[Minecraft:Pack format|resource pack and data pack formats]], and whether the version is stable or not. Further information on [[Minecraft:version.json]].
|-
|-
| {{Keys|F3 + X}}{{upcoming|je 26.3}}
| {{Keys|F3 + X}}
| Toggle Improved Transparency
| Toggle Improved Transparency
| Toggles rendering the game with improved transparency.
| Toggles rendering the game with improved transparency.
Line 104: Line 105:
|-
|-
| {{Keys|F3 + 2}}
| {{Keys|F3 + 2}}
| FPS Charts
| Fps Charts<ref>Deliberately capitalized this way: {{bug|MC-311644}}</ref>
| Toggles the [[Minecraft:Debug screen#FPS graph|FPS charts]] in debug screen.
| Toggles the [[Minecraft:Debug screen#FPS graph|FPS charts]] in debug screen.
|-
|-
Line 115: Line 116:
| Toggles the [[Minecraft:Debug screen#Lightmap graph|lightmap graph]] in debug screen.
| Toggles the [[Minecraft:Debug screen#Lightmap graph|lightmap graph]] in debug screen.
|-
|-
| {{Keys|F3 + Esc}}
| {{Keys|F3 + Escape}}
| N/A
| N/A
| Pause without [[Minecraft:pause menu]]. Only works on singleplayer.
| Pause without [[Minecraft:pause menu]]. Only works on singleplayer.
Line 146: Line 147:
| Toggles "smart culling" that culls individual [[Minecraft:chunk|chunk sections]].
| Toggles "smart culling" that culls individual [[Minecraft:chunk|chunk sections]].
|-
|-
| {{keys|F3 + M}}{{upcoming|je 26.3}}
| {{keys|F3 + M}}
| Toggles MultiDrawIndirect rendering.
| Toggles MultiDrawIndirect rendering.
|-
|-
Line 169: Line 170:
|{{HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||?|{{key|F3+3}} now reloads all sounds.}}
|{{HistoryLine||?|{{key|F3+3}} now reloads all sounds.}}
|{{HistoryLine||?|{{key|F3+3}} no longer reloads all sounds.}}
|{{HistoryLine||1.4.2|dev=12w41a|{{key|F3+H}} was added to show [[Minecraft:durability]] on damaged tools, weapons and armor pieces.}}
|{{HistoryLine||1.4.2|dev=12w41a|{{key|F3+H}} was added to show [[Minecraft:durability]] on damaged tools, weapons and armor pieces.}}
|{{HistoryLine||1.4.4|dev=1.4.3|{{key|F3+B}} now toggles the "entity hitboxes" [[Minecraft:debug renderer]].}}
|{{HistoryLine||1.4.4|dev=1.4.3|{{key|F3+B}} now toggles the "entity hitboxes" [[Minecraft:debug renderer]].}}
Line 186: Line 188:
|Added {{key|F3+I}} to copy targeted block or entity server-side data to clipboard. It can be used only by [[Minecraft:operator]]s.}}
|Added {{key|F3+I}} to copy targeted block or entity server-side data to clipboard. It can be used only by [[Minecraft:operator]]s.}}
|{{HistoryLine||1.13.1|dev=18w30a|Added {{keys|Control+F3+C}} to force a JVM crash, instead of a regular crash.}}
|{{HistoryLine||1.13.1|dev=18w30a|Added {{keys|Control+F3+C}} to force a JVM crash, instead of a regular crash.}}
|{{HistoryLine||1.14.1|dev=Pre-Release 1|Pressing {{key|F3+Esc}} now toggles pause without pause menu (if pausing is possible).
|{{HistoryLine||1.14.1|dev=Pre-Release 1|Pressing {{key|F3+Escape}} now toggles pause without pause menu (if pausing is possible).
|Pressing {{key|F3+N}} when in Survival or Adventure mode now changes the player into Creative mode, if cheats are enabled.}}
|Pressing {{key|F3+N}} when in Survival or Adventure mode now changes the player into Creative mode, if cheats are enabled.}}
|{{HistoryLine||1.15.2|dev=Pre-Release 1|{{key|F3+D}} no longer clears recently typed messages and commands from {{key|UP}} and {{key|DOWN}}.}}
|{{HistoryLine||1.15.2|dev=Pre-Release 1|{{key|F3+D}} no longer clears recently typed messages and commands from {{key|UP}} and {{key|DOWN}}.}}
Line 204: Line 206:
|Debug hotkeys can now be rebound.}}
|Debug hotkeys can now be rebound.}}
|{{HistoryLine||26.1|dev=snap1|Added {{key|F3+4}} to show the lightmap.}}
|{{HistoryLine||26.1|dev=snap1|Added {{key|F3+4}} to show the lightmap.}}
|{{HistoryLine|upcoming java}}
|{{HistoryLine||26.3|dev=snap2|Added {{key|F3+X}} to toggle improved transparency rendering.}}
|{{HistoryLine||26.3|dev=snap2|Added {{key|F3+X}} to toggle improved transparency rendering.}}
|{{HistoryLine|||dev=snap8|Added {{key|F3+M}} to toggle MultiDrawIndirect rendering.{{note|name=disabled-hotkey-new|This debug hotkey can only be used with the {{code|HOTKEYS}} debug property.}}}}
|{{HistoryLine|||dev=snap8|Added {{key|F3+M}} to toggle MultiDrawIndirect rendering.{{note|name=disabled-hotkey-new|This debug hotkey can only be used with the {{code|HOTKEYS}} debug property.}}}}
Line 215: Line 216:
<gallery>
<gallery>
Game mode switcher.png|Game mode switcher ({{Keys|F3 + F4}})
Game mode switcher.png|Game mode switcher ({{Keys|F3 + F4}})
F3 + C Crash Alert.png|Screenshot of the crash alert given in the chat while holding {{keys|F3+C}}.
F3 + C Crash Alert.png|Screenshot of the crash alert given in the chat while holding {{keys|F3+C}}
Debug Options.png|Debug options ({{keys|F3 + F6}})
Debug Options.png|Debug options ({{keys|F3 + F6}})
</gallery>
</gallery>
== References ==
{{reflist}}


== Notes ==
== Notes ==
<references group="note"/>
{{notelist}}


== Navigation ==
== Navigation ==

Latest revision as of 11:08, 26 September 2026

Template:Exclusive

File:Debug controls.png
The list of debug keybinds as shown in-game under Template:UITemplate:Until

A debug hotkey (or key binding in game) is used to access hidden information and trigger advanced settings in the game through Template:Keys, where key is usually a letter (A–Z), or just a single Template:Key, which is used to open the Minecraft:debug screen. When Template:Key is used as a modifier for debug hotkey combination, the debug screen is not opened (or closed if enabled).

The list for debug hotkeys can be viewed and changed under the "Debug" section of Template:UI.

Some debug hotkeys may be disabled by Template:Gmr game rule.

  1. REDIRECT Template:PG/-

List of debug hotkeys

Default key bind In-game name Description
Template:Key (toggle) Toggle Overlay Toggles the Minecraft:debug screen.
Template:Key (modifier) Debug Modifier Key Used as a modifier for all Template:Keys-based debug hotkeys.
Template:Keys Reload Minecraft:Chunks Reloads all loaded chunks
Template:Keys Show Minecraft:Hitboxes Toggles the Template:Cd Minecraft:debug renderer.

Disabled by Template:Cd gamerule.

Template:Keys Copy Location Copies current location data with the format Template:Cmd.

Disabled by Template:Cd gamerule.

Template:Keys (hold) Debug Minecraft:Crash When the player holds the key combination for 10 seconds (8 seconds countdown), it Minecraft:crashes the game with the code -1, caused by an exception.Template:Note

In the game log, the exception has a message of "Manually triggered debug crash" followed by "Reported exception thrown!" and other reported chat messages (including the crash countdown).

Template:Keys Clear Chat Retains typed messages accessible through Template:Keys/Template:Keys
Template:Keys Show Chunk Boundaries Toggles the Template:Cd Minecraft:debug renderer.

Disabled by Template:Cd gamerule.

Template:Keys Show Advanced Minecraft:Tooltips Toggles showing additional information on item Minecraft:tooltips:
Template:Keys Copy Data Copies entity or block data with the format Template:Cmd. Alternatively, the Template:Keys combination copies the client-side data, which often returns the same values as Template:Keys.

Disabled by Template:Cd gamerule.

Template:Keys Start/Stop Profiling See Minecraft:performance metrics.Template:Info needed
Template:Keys Cycle Spectator Toggles Minecraft:Spectator mode and previous game mode.
Template:Keys Toggle Lost Focus Pause Toggles automatic pause when the game loses focus, or not selected as the primary window.
Template:Keys Dump Dynamic Textures All loaded Minecraft:dynamic textures are exported to Template:Cd as image files alongside associated text metadata where necesary.
Template:Keys Reload Minecraft:Resource Packs Reloads the changes from adding and removing resource packs in the Minecraft:.minecraft/resourcepacks folder (either by drag and drop in a file explorer, or activating and deactivating certain packs on Template:UI settings). This is useful for reloading resource packs without having to restart the game.
Template:Keys Dump Version Info Presents the client's game version information, in the order of the version's ID, the version's name, Minecraft:data version, series, Minecraft:protocol version, build time, resource pack and data pack formats, and whether the version is stable or not. Further information on Minecraft:version.json.
Template:Keys Toggle Improved Transparency Toggles rendering the game with improved transparency.
Template:Keys Profiling Chart Toggles the profiling chart in debug screen.
Template:Keys Fps Charts<ref>Deliberately capitalized this way: Template:Bug</ref> Toggles the FPS charts in debug screen.
Template:Keys Network Charts Toggles multiple network charts (such as TPS, bandwidth, and ping graph) in debug screen.
Template:Keys Lightmap Texture Toggles the lightmap graph in debug screen.
Template:Keys N/A Pause without Minecraft:pause menu. Only works on singleplayer.

Not available as a configurable key binding.

Template:Keys Game Mode Switcher Opens the Minecraft:game mode switcher, and selects last used game mode.
Template:Keys Debug Options Opens the Minecraft:debug options screen, which allows the player to customize the debug screen.

Disabled hotkeys

These hotkeys are disabled by default, but can be enabled using the -DMC_DEBUG_HOTKEYS Minecraft:debug property. These are not available as configurable key bindings.

Hotkey Info
Template:Keys Toggles the chunk_section_paths Minecraft:debug renderer.
Template:Keys Toggles Minecraft:fog.
Template:Keys Toggles "smart culling" that culls individual chunk sections.
Template:Keys Toggles MultiDrawIndirect rendering.
Template:Keys Toggles the chunk_section_octree debug renderer.
Template:Keys Toggles the chunk_section_visibility debug renderer.
Template:Keys Toggles wireframe rendering.
Template:Keys Locks the viewing frustum used for culling in place and makes it visible.
Template:Keys Unlocks and hides the viewing frustum.

History

Template:HistoryTable

Issues

Template:Issue list

Gallery

References

Template:Reflist

Notes

Template:Notelist

Navigation

Template:Navbox Java Edition technical

Minecraft:fr:Raccourci clavier de débogage