minecraft.wiki-mirror/wiki_backup/debug hotkey.txt

108 lines
4 KiB
Text

{{about|the hotkey|other uses|Debug}}
{{exclusive|java}}
[[File:Debug_hotkey.png|thumb|List of debug hotkeys (or key bindings) shown in the game by pressing {{keys|F3+Q}} keys.]]
A '''debug hotkey''' is used to access hidden game info and trigger/toggle advanced settings. It is triggered through {{Keys|F3 + <Key>}}. When F3 is used for debug hotkey, the debug screen is not opened.
Some debug hotkeys may be disabled by {{cd|reducedDebugInfo}} [[gamerule]].
== List of debug hotkeys==
{| class="wikitable"
|+
!Hotkey
!Ingame description
!Info
|-
|{{Keys|F3 + A}}
|Reload chunks
|
|-
|{{Keys|F3 + B}}
|Show hitboxes
|[[Hitbox]]es are shown on visible entities.
* White bounding box
* A long blue tint for direction facing
* Red outlines for the [[Hitbox#Eye height|eye height]] (if any)
* Yellow outlines for the [[Hitbox#Passenger attachment point|passenger attachment point]] (if any)
''Disabled by reducedDebugInfo gamerule.''
|-
|{{Keys|F3 + C}}
|Copy location as /tp command, hold F3 + C to crash the game
|Copies current location data with the format {{Cmd|/execute in <Dimension> run tp @s <Position> <Rotation>}}.
When the players hold the key combination for 10 seconds, it [[crash]]es the game with the code -1. Alternatively, the {{Keys|Ctrl+F3+C}} combination causes a Java crash instead of a normal crash. Location data will still be copied.
''Disabled by reducedDebugInfo gamerule, but not crashing.''
|-
|{{Keys|F3 + D}}
|Clear chat
|Retains typed messages accessible through {{Keys|Up}}/{{Keys|Down}}
|-
|{{Keys|F3 + G}}
|Show chunk boundaries
|''Disabled by reducedDebugInfo gamerule.''
|-
|{{Keys|F3 + H}}
|Advanced tooltips
|Shows additional information on the item [[tooltip]]s, like item [[Java Edition data values|identifier]]s, tool durability, [[armor]] color [[Dye|hex]], map scale, and details of what type firework is loaded in a crossbow.
|-
|{{Keys|F3 + I}}
|Copy entity or block data to clipboard
|Copies entity or block data with the format {{Cmd|/summon <Entity> <Position> {[Data, eg. OnGround: 0b, Air: 300s]} }}. Alternatively, the {{Keys|F3 + ⇧ Shift + I}} combination copies the client-side data, which often returns the same values as {{Keys|F3 + I}}.
''Disabled by reducedDebugInfo gamerule.''
|-
|{{Keys|F3 + L}}
|Start/stop profiling
|See [[performance metrics]].
|-
|{{Keys|F3 + N}}
|Cycle previous game mode <-> spectator
|Toggles spectator mode and previous gamemode. Defaults to creative gamemode.
|-
|{{Keys|F3 + P}}
|Pause on lost focus
|Toggles automatic pause when the game lost focus, or not selected as the primary window.
|-
|{{Keys|F3 + Q}}
|Show this list
|Shows the list of debug hotkeys on the chat with the following format:
<pre>
[Debug]: Key bindings:
&lt;hotkey&gt; = &lt;description&gt;
...
</pre>
|-
|{{Keys|F3 + S}}
|Dump dynamic textures
|Dumps a few .png [[texture atlas]] files to {{cd|[[.minecraft]]/screenshots/debug}}.
|-
|{{Keys|F3 + T}}
|Reload resource packs
|After adding new resource packs to the resource pack folder (either by drag and drop, or the "Open Pack Folder" button in the "Resource Packs" section in the settings) F3 + T can be used to reload the folder so it shows up in minecraft. this is useful so you won't have to restart your minecraft launcher to reload the folder.
|-
|{{Keys|F3 + Esc}}
|Pause without pause menu (if pausing is possible)
|Single-player only.
|-
|{{Keys|F3 + F4}}
|Open game mode switcher
|Opens the [[game mode switcher]], and selects last used game mode.
|}
The shortcuts {{Keys|F3 + 1|2|3}} are not included in this list, see [[debug screen]].
== History ==
{{missing|debug hotkeys history, some of them are not yet been merged from [[Debug screen]]}}
== Issues ==
{{issue list|debug hotkey|debug key binding|F3}}
== Gallery ==
<gallery>
Chunk borders.png|Chunk borders {{Keys|F3 + G}}
Hitboxes.png|Hitboxes {{Keys|F3 + B}}
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}}.
</gallery>
== Navigation ==
{{Navbox Java Edition technical|general}}