Skip to content

Variables as Seen in the F3 Screen

Jakob edited this page Feb 27, 2023 · 16 revisions

The wiki has moved!
New Page: https://customhud.dev/v2/variables

The F3 screen as of 1.18.2

Profile closest to F3 Screen

==Section: TopLeft==
Minecraft {version} ({client_version}/{modded_name})
{fps} fps T: {{max_fps,"{max_fps}","inf"}} {{vsync,"vsync "}}{graphics_mode} {{clouds,"{clouds}-clouds "}}B: {biome_blend}
Integrated server @ {ms_ticks} ms ticks, {tx} tx, {rx} rx
C: {chunks_rendered}/{chunks_loaded} {{chunks_culling,"(s) "}}D: {render_distance}, pC: {queued_tasks}, pU: {upload_queue}, aB: {buffer_count}
E: {entities_rendered}/{entities_loaded}, B: 0, SD: {sd}
P: {p}, T: {entities_loaded}
{dimension_id} FC: {fc}

XYZ: {x} / {y -p5} / {z}
Block: {bx} {by} {bz}
Chunk {icx} {icy} {icz} in {cx} {cy} {cz}
Facing: {facing} (Towards {facing_towards_pn_sign} {facing_towards_xz}) ({yaw} / {pitch})
Client Light: {light} ({light_sky} sky, {light_block} block)
CH S: {chs} M: {chm}
SH S: {shs} O: {sho} M: {shm} ML: {shml}
Biome: {biome_id}
Local Difficulty: {local_difficulty} // {clamped_local_difficulty} (Day {day})
SC: {sc}, M: {monsters}, C: {creatures}, A: {ambient_mobs}, A: {axolotls}, U: {underground_water_creatures}, W: {water_creatures}, W: {water_ambient_mobs}, M: {misc_mobs}
Sounds: {sounds}/{max_sounds} + {static_sounds}/{max_static_sounds} (Mood {mood}%)

==Section: TopRight==
Java: {java_version} {java_bit}bit
Mem: {memory_used_percentage}% {memory_used}/{memory_total}MB
Allocated: {memory_allocated_percentage}% {memory_allocated}MB

Display: {display_width}x{display_height}

{{target_block,"&nTargeted Block: {tbx}, {tby}, {tbz}"}}
{{target_block,"{target_block_id}"}}
{{target_block,"&f"}}
{{target_block,"&nTargeted Fluid: {tfx}, {tfy}, {tfz}"}}
{{target_block,"{target_fluid_id}"}}
{{target_block,"&f"}}
{{target_entity,"&nTargeted Entity"}}
{{target_entity,"{target_entity_id}"}}

Left Side, Section 1:

Line 1:

Variable Description Number Value Boolean Value Flags
{version} The minecraft version. (Ex: 1.16.2, 20w34a) length of output length of output > 0 String
{client_version} Game Version: (probably fabric) length of output length of output > 0 String
{modded_name} Client Brand Name: (probably Fabric) length of output length of output > 0 String

Line 2:

Variable Description Num Value Bool Value Flags
{fps} Frames per Second the fps true None
{max_fps} Fps Limit set in the settings. - if set to max the max fps false if the limit is set to max, true otherwise None
{vsync} If vsync is enabled or not 0 (off), 1 (on) if vsync is enabled None
{graphics_mode} Graphics Quality (Fast, Fancy, or Fabulous) 0 (fast), 1 (fancy), 2 (fabulous) true String
{clouds} Cloud Quality (Off, Fast, Fancy) 0 (off), 1 (fast), 2 (fancy) if clouds are on String
{biome_blend} The player's biome blend setting the biome blend if biome blend is enabled None
{gpu} / {gpu_usage} GPU Usage gpu usage true Precision & Scale

Line 3:

Variable Description Num Value Bool Value Flags
{ms_ticks} The time it takes for a tick on the integrated server in milliseconds.
- Singleplayer Only
- Related: {tps}
the millisecond it takes for a tick if it can get the value
(aka you're in singleplayer)
None
{tx} / {packets_sent} Number of packets sent by the client to the server number of packets true None
{rx} / {packets_received} Number of packets received by the client from the server number of packets true None

Line 4:

Variable Description Num Value Bool Value Flags
{chunks_rendered} Number of chunks being rendered number of chunks true None
{chunks_loaded} Number of chunks in the loaded area number of chunks true None
{chunks_culling} If Chunk culling is on 0 (off), 1 (on) if chunk culling is on None
{render_distance} The player’s render distance setting render distance if more than 0 None
{queued_tasks} Pending chunks to be batched (pC in the F3 screen) pending chunks if more than 0 None
{upload_queue} Pending uploads to video card (pU in the F3 screen) pending upload if more than 0 None
{buffer_count} Available buffers to use in the batching process. (aB in the F3 screen) available buffers if more than 0 None

Line 5:

Variable Description Num Value Bool Value Flags
{entities_rendered} Number of entities being rendered entities rendered if more than 0 entities None
{entities_loaded} Total entities in the loaded area total entities if more than 0 entities None
{sd} / {simulation_distance} Simulation Distance set in the settings simulation distance true None

Line 6:

Variable Description Num Value Bool Value Flags
{p} / {particles} Number of particles visable or loaded (not sure) number of particles if more than 0 particles None
{entities_loaded} Total entities in the loaded area total entities if more than 0 entities None

Line 7 & 8 Not Available

Line 9:

Variable Description Num Value Bool Value Flags
{dimension_id} The id of the dimension the player is in. Ex: “minecraft:overworld”, “minecraft:the_nether”
- Related: {dimension}
length of output length of output > 0 String
{fc} / {force_loaded_chunks} Number of forced loaded chunks number of chunks number of chunks > 0 None

Left Side, Section 2:

Line 1:

Variable Description Num Value Bool Value Flags
{x} The player’s x coordinate, Ex: 320.153 x coordinate true Precision & Scale
{y} The player’s y coordinate, Ex: 80.459 y coordinate true Precision & Scale
{z} The player’s z coordinate, Ex: 1200.963 z coordinate true Precision & Scale

Line 2:

Variable Description Num Value Bool Value Flags
{bx} / {block_x} The x coordinate of the block the player’s feet is at. Ex: 320 x coordinate true None
{by} / {block_y} The y coordinate of the block the player’s feet is at. Ex: 80 y coordinate true None
{bz} / {block_z} The z coordinate of the block the player’s feet is at. Ex: 1200 z coordinate true None

Line 3:

Variable Description Num Value Bool Value Flags
{icx} / {in_chunk_x} The player’s x coordinate inside the chunk (bound between 0-15) in chunk x true None
{icy} / {in_chunk_y} The player’s y coordinate inside the chunk (bound between 0-15) in chunk y true None
{icz} / {in_chunk_z} The player’s z coordinate inside the chunk (bound between 0-15) in chunk z true None
{cx} / {chunk_x} The chunk’s x coordinate (so every 16 blocks in the x direction, this goes up by 1) chunk x true None
{cy} / {chunk_y} The chunk’s y coordinate (so every 16 blocks in the y direction, this goes up by 1) chunk y true None
{cz} / {chunk_z} The chunk’s z coordinate (so every 16 blocks in the z direction, this goes up by 1) chunk z true None

Line 4:

Variable Description Num Value Bool Value Flags
{facing}
OR
{facing_short}
The cardinal direction the player is facing.
- Facing: North, South, East, West
- Facing Short: N, S, E, W
length of output true String
{facing_towards_pn_word}
OR
{facing_towards_pn_sign}
If the player is looking at the positive or negative direction of the axis
- Word: positive or negative
- Sign: + or -
0 (negative), 1 (positive) if facing a positive direction (east/south) String
{facing_towards_xz} Which horizontal axis the player is facing (x or z) length of output true String
{yaw} The yaw rotation of the player the yaw if the yaw is positive Precision & Scale
{pitch} The pitch rotation of the player the pitch if the pitch is positive Precision & Scale

Line 5:

Variable Description Num Value Bool Value Flags
{light} / {client_light} The total light level of where the player is. light level false if can't get info None
{light_sky} / {client_light_sky} The light level of where the player is that’s from the sky (reported by the client) light level from sky false if can't get info None
{light_block} / {client_light_block} The light level of where the player is that’s from blocks (reported by the client) light level from block false if can't get info None

Line 6:

Variable Description Num Value Bool Value Flags
{chs} The Y coordinate of the highest non-air block at the player’s X/Z coordinate. (reported by the client) the y coordinate false if can't get info None
{chm} The Y coordinate of the highest block at the player’s X/Z coordinate that has a blocking-motion material or is liquid. (reported by the client) the y coordinate false if can't get info None

Line 7:

Variable Description Num Value Bool Value Flags
{shs} The Y coordinate of the highest non-air block at the player’s X/Z coordinate. (reported by the server) the y coordinate false if can't get info None
{shm} The Y coordinate of the highest block at the player’s X/Z coordinate that has a blocking-motion material or is liquid. (reported by the server) the y coordinate false if can't get info None
{sho} The Y coordinate of the highest block at the player’s X/Z coordinate that has a blocking-motion material. (reported by the server) the y coordinate false if can't get info None
{shm} The Y coordinate of the highest block at the player’s X/Z coordinate that has a blocking-motion material or is liquid. (reported by the server) the y coordinate false if can't get info None
{shml} The Y coordinate of the highest block at the player’s X/Z coordinate that has a blocking-motion material and is not leaves. (reported by the server) the y coordinate false if can't get info None

Line 8:

Variable Description Num Value Bool Value Flags
{biome_id} The id of the biome the player is in. Ex: “minecraft:plains”, “minecraft:desert”
- Related: {biome}
length of output length of output > 0 String

Line 9:

Variable Description Num Value Bool Value Flags
{local_difficulty} Shows the difficulty of the chunk the player is in the local difficulty true Precision & Scale
{clamped_local_difficulty} Shows the difficulty of the chunk the player is in (clamped) the clamped local difficulty true Precision & Scale
{day} The number of in-game days the player has been in the world number of days true Precision & Scale

Line 10 - 12 are not available

Line 13:

Variable Description Num Value Bool Value Flags
{sc} / {spawn_chunks} The total amount of spawn chunks in the world (usually 289). number of spawn chunks if greater than 0 None
{monsters} Total amount of monsters in the loaded chunks number of mobs if greater than 0 None
{creatures} The total amount of creatures in the loaded chunks number of mobs if greater than 0 None
{ambient_mobs} The total amount of ambient mobs in the loaded chunks number of mobs if greater than 0 None
{axolotls} The total amount of axolotls in the loaded chunks number of mobs if greater than 0 None
{underground_water_creature} The total amount of underground water creature mobs in the loaded chunks number of mobs if greater than 0 None
{water_creatures} The total amount of water creatures in the loaded chunks number of mobs if greater than 0 None
{water_ambient_mobs} The total amount of ambient water mobs in the loaded chunks number of mobs if greater than 0 None
{misc_mobs} The total amount of miscellaneous mobs in the loaded chunks number of mobs if greater than 0 None

Line 14:

Variable Description Num Value Bool Value Flags
{sounds} / {streaming_sounds} The number of streaming sounds currently playing (like breaking/placing blocks) number of spawn chunks if greater than 0 None
{max_sounds} / {max_streaming_sounds} The max amount of streaming sounds that can play at once number of mobs if greater than 0 None
{static_sounds} The number of static sounds currently playing (ambient sounds) number of mobs if greater than 0 None
{max_static_sounds} The max amount of static sounds that can play at once number of mobs if greater than 0 None
{mood} How close the player is to the next mood ambience sound being played number of mobs if greater than 0 None

Right Side, Top:

Line 1:

Variable Description Num Value Bool Value Flags
{java_version} The version of java length of output length of output > 0 None
{java_bit} If the java running is 32bit or 64bit 32 or 64 true None

Line 2:

Variable Description Num Value Bool Value Flags
{memory_used_percentage} Percentage of used memory to total memory percentage of used memory true Precision and Scale
{memory_used} Memory being used memory used true None
{memory_total} Total memory minecraft has access to total memory true None

Line 3:

Variable Description Num Value Bool Value Flags
{memory_allocated_percentage} Percentage of allocated to total memory percentage of allocated memory true Precision and Scale
{memory_allocated} Total memory will attempt to use allocated memory true None

Line 5 (Shown in F3 when Sodium or Iris is installed, but the variable can be used without it):

Variable Description Num Value Bool Value Flags
{off_heap} Memory that's off the heap memory that's off the heap true Precision and Scale

Other:

Variable Description Num Value Bool Value Flags
{cpu_name} The name of the CPU length of name length of output > 0 String
{display_width} Minecraft’s windows width the width true None
{display_height} Minecraft’s windows height the height true None
{gpu_name} The name of the GPU length of name length of output > 0 String

Right Side, Targets:

Target Block:

Variable Description Num Value Bool Value Flags
{target_block} The name of the block the player's looking at length of output if the player is looking at a block String
{target_block_id} The id of the block the player's looking at length of output if the player is looking at a block String
{tbx} / {target_x} / {target_block_x} The x coordinate of the block the player’s looking at x coordinate if the player is looking at a block None
{tby} / {target_y} / {target_block_y} The y coordinate of the block the player’s looking at y coordinate if the player is looking at a block None
{tbz} / {target_z} / {target_block_z} The z coordinate of the block the player’s looking at z coordinate if the player is looking at a block None

Target Fluid:

Variable Description Num Value Bool Value Flags
{target_fluid} The name of the fluid the player's looking at length of output if the player is looking at a fluid String
{target_fluid_id} The id of the fluid the player's looking at length of output if the player is looking at a fluid String
{tfx} / {target_fluid_x} The x coordinate of the fluid the player’s looking at x coordinate if the player is looking at a fluid None
{tfy} / {target_fluid_y} The y coordinate of the fluid the player’s looking at y coordinate if the player is looking at a fluid None
{tfz} / {target_fluid_z} The z coordinate of the fluid the player’s looking at z coordinate if the player is looking at a fluid None

Target Entity:

Variable Description Num Value Bool Value Flags
{target_entity} The name of the entity the player's looking at length of output if the player is looking at a entity String
{target_entity_id} The id of the entity the player's looking at length of output if the player is looking at a entity String
{tex} / {target_entity_x} The x coordinate of the entity the player’s looking at x coordinate if the player is looking at a entity None
{tey} / {target_entity_y} The y coordinate of the entity the player’s looking at y coordinate if the player is looking at a entity None
{tez} / {target_entity_z} The z coordinate of the entity the player’s looking at z coordinate if the player is looking at a entity None

Variables not show in the F3 screen:

General:

Variable Description Num Value Bool Value Flags
{tps} How many ticks happen every second on the integrated server. Maxes to 20
- Only works in singleplayer
the ticks per second true Precision & Scale
{server_light_sky} The light level of where the player is that’s from the sky (reported by the server) light level from sky false if can't get info None
{server_light_block} The light level of where the player is that’s from blocks (reported by the server) light level from block false if can't get info None
{dimension} The dimention the player is in. Ex: “Overworld”, “The Nether”, "The End" length of output length of output > 0 String
{biome} The biome the player is in. Ex: “Plains", “Desert” length of output length of output > 0 String
{mods} The amount of mods installed mods installed true None
{ping} The ping to the server the ping if greater than 0 None
{address} The address (as written in the address field) of the server length of output length of output > 0 String
{velocity_xz} Horizontal (XZ) velocity in blocks per second the velocity if greater than 0 Precision & Scale
{velocity_y} Vertical (Y) velocity in blocks per second the velocity if greater than 0 Precision & Scale
{velocity_xyz} Total (XYZ) velocity in blocks per second the velocity if greater than 0 Precision & Scale
{velocity_xz_kmh} Horizontal (XZ) velocity in kilometers per hour (km/h) the velocity if greater than 0 Precision & Scale
{velocity_y_kmh} Vertical (Y) velocity in kilometers per hour (km/h) the velocity if greater than 0 Precision & Scale
{velocity_xyz_kmh} Total (XYZ) velocity in kilometers per hour (km/h) the velocity if greater than 0 Precision & Scale
{moon_phase} The phase of the moon (1-8) the moon phase true None
{moon_phase_word} The phase of the moon in words length of output true String
{hour} / {hour12} In Minecraft’s time scale the hour true None
{hour24} In Minecraft’s time scale the hour true None
{minute} In Minecraft’s time scale the minute true None
{am_pm} In Minecraft’s time scale length of output length of output > 0 String
{real_time:time_format} Displays the irl time, based on the format in time_format . For formatting look here length of output length of output > 0 String
{stat:<stat>}
{stat:<type>:<value>}
Retrieve a stat value saved in the stat if value > 0 Precision & Scale, Formatted
{rex} / {region_x} Region X the x if x > 0 None
{rez} / {region_z} Region Z the z if z > 0 None
{rrx} / {region_relative_x} Region Relative X the x if x > 0 None
{rrz} / {region_relative_z} Regixon Relative Z the z if z > 0 None
{cpu} / {cpu_usage} CPU Usage cpu usage true Precision & Scale
{slime_chunk} If the chunk is a slime chunk 0 (false), 1 (true) if chunk is slime chunk None
{cpu_cores} Minecraft’s windows refresh rate the refresh rate if greater than 0 None
{cpu_threads} Minecraft’s windows refresh rate the refresh rate if greater than 0 None
{display_refresh_rate} Minecraft’s windows refresh rate the refresh rate if greater than 0 None

Held Items:

Variable Description Num Value Bool Value Flags
{item} Name of item in player's main hand length of output length of output > 0 String
{item_id} Id of item in player's main hand length of output length of output > 0 String
{item_dur} / {item_durability} Durability of item in player's main hand durability if greater than 0 None
{item_max_dur} / {item_max_durability} Max durability of item in player's main hand max durability if greater than 0 None
{item_dur_per} / {item_durability_percent} Percentage of durability left of item in player's main hand durability % if greater than 0 Precision & Scale
{item_has_dur} / {item_has_durability} If the item in the player's main hand can have durability 0 (false), 1 (true) can have durability None
{oitem} / {offhand_item} Name of item in player's offhand length of output length of output > 0 String
{oitem_id} / {offhand_item_id} Id of item in player's offhand length of output length of output > 0 String
{oitem_dur} / {offhand_item_durability} Durability of item in player's offhand durability if greater than 0 None
{oitem_max_dur} / {offhand_item_max_durability} Max durability of item in player's offhand max durability if greater than 0 None
{oitem_dur_per} / {offhand_item_durability_percent} Percentage of durability left of item in player's offhand durability % if greater than 0 Precision & Scale
{oitem_has_dur} / {offhand_item_has_durability} If the item in the player's offhand can have durability 0 (false), 1 (true) can have durability None

Variables for other mods:

If Sodium is installed:

Variable Description Num Value Bool Value Flags
{sodium_version} Sodium Version length of output length of output > 0 None
{sodium_chunk_arena_allocator} Sodium Chunk Arena Memory Allocater length of output length of output > 0 None
{sodium_staging_buffers} Sodium Staging Buffers staging buffers if greater than 0 None
{sodium_buffer_objects} Sodium Device Buffer Objects buffer objects if greater than 0 None
{sodium_memory_used} Sodium Device Memory Used memory used if greater than 0 None
{sodium_memory_allocated} Sodium Device Memory Allocated memory allocated if greater than 0 None

If Iris is installed:

Variable Description Num Value Bool Value Flags
{iris_version} Iris Version length of output length of output > 0 None
{iris_shaderpack} Shaderpack file loaded length of output length of output > 0 None
{iris_shaderpack_profile} Shaderpack profile loaded length of output length of output > 0 None
{iris_shaderpack_changes} How many changes the user made to the profile number of changes number of changes > 0 None