{"id":38725,"date":"2026-06-01T23:07:46","date_gmt":"2026-06-01T20:07:46","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/"},"modified":"2026-06-01T23:07:46","modified_gmt":"2026-06-01T20:07:46","slug":"chat-lag-fix","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/","title":{"rendered":"Chat Lag Fix"},"content":{"rendered":"<p>Fixes Minecraft client lag from receiving chat messages<br \/>\n### YOU DO NOT NEED THIS MOD ANYMORE ON 1.18<br \/>\n<br \/>\n<b>Mojang has fixed the bug in their API that was causing it to return an error instead of an empty list. Minecraft will fetch the block-list once when joining the world. This mod may still improve world loading times by the time it takes to make that HTTP request; especially if you have a slow internet connection.<\/b><\/p>\n<p>This comment by a Mojang employee confirms that the bug was fixed: https:\/\/bugs.mojang.com\/browse\/WEB-5587?focusedCommentId=1134973&#038;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1134973<\/p>\n<p>This bug still affects 1.17 and 1.16 but only on the first chat message received: https:\/\/bugs.mojang.com\/browse\/MC-218167<\/p>\n<p><b>Technical Details<\/b>:  When receiving a chat message, Minecraft sends a HTTP request in the render thread to check your player block list. The current frame does not finish rendering until this request has finished, causing a lag spike. This mod lets chat messages through until a block-list can be fetched. <\/p>\n<p><b>Why is this happening now and not before?<\/b>: something happened to Mojang&#8217;s API. When joining a world, the blocklist would usually load fine, but Mojang&#8217;s API has started returning errors for users who have migrated to Microsoft accounts, causing the block list to be fetched in 2 minute intervals when receiving a message.<\/p>\n<details>\n<summary>A commented walkthrough of why the bug occurs<\/summary>\n<pre>\n\/\/ A simplified view of the code.\nprivate static final long BLOCKLIST_REQUEST_COOLDOWN = 120;\nprivate Instant nextRequest;\nprivate final blockList Set<UUID>;\n\n\/\/ This method is called when receiving a chat message\npublic boolean isBlockedPlayer(UUID playerID) {\n    \/\/ If we don't have the blocklist yet, fetch it\n    \/\/ Note that when there's an error, fetchBlockList returns null\n    \/\/ \n    if (this.blockList == null) {\n        this.blockList = fetchBlockList();\n        \/\/ If we still don't have it, assume the player is not blocked\n        if (this.blockList == null) {\n            return false;\n        }\n    }\n    return this.blockList.contains(playerID);\n}\n\npublic Set<UUID> fetchBlockList() {\n    \/\/ Only check at least every 2 minutes.\n    \/\/ This is why the lagspike only occurs every 2 minutes or later\n    if (this.nextRequest == null || Instant.now().isAfter(this.nextRequest)) {\n        return null;\n    }\n    \/\/ Reset the 2 minute timer\n    this.nextRequest = Instant.now().plusSeconds(BLOCKLIST_REQUEST_COOLDOWN);\n    try {\n        \/\/ Make the HTTP request\n        BlockListResponse response = minecraftClient.get(routeBlocklist, BlockListResponse.class);\n        return response.getBlockedProfiles();\n    } catch (\/* exception *\/) {\n        \/\/ If there's an error return null\n        return null;\n    }\n}\n<\/pre>\n<\/details>\n<p>\nIf you&#8217;d like to see the unmodified for yourself, check out com.mojang.authlib.yggdrasil.YggdrasilUserApiService, remember that these methods get called on the render thread, thus blocking the frame from finishing.<\/p>\n<details>\n<summary>GIF demonstration of the bug<\/summary>\n<p>\n<img decoding=\"async\" src=\"https:\/\/cdn.discordapp.com\/attachments\/857368936672526356\/929654718660214804\/chat-lag.gif\" style=\"max-width: 100%\"><\/p>\n<\/details>\n","protected":false},"excerpt":{"rendered":"<p> Fixes Minecraft client lag from receiving chat messages (for 1.17 and 1.16)<\/p>\n","protected":false},"featured_media":38726,"template":"","meta":{"_minecraft_slug":"chat-lag-fix","_minecraft_project_id":"fKi1znuF","_minecraft_author":"adryd","_minecraft_license":"MIT","_minecraft_downloads":9827,"_minecraft_follows":28,"_minecraft_client_side":"required","_minecraft_server_side":"unsupported","_minecraft_storage_type":"zip","_minecraft_archive_name":"chat-lag-fix.zip","_minecraft_size_bytes":36285,"_minecraft_version_count":6,"_minecraft_updated_at":"2026-05-16T06:24:47.651037Z","_minecraft_date_created":"2022-01-06T23:27:34.230208Z","_minecraft_date_modified":"2022-01-11T10:42:17.608817Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/chat-lag-fix","_minecraft_icon_attachment_id":38726,"_minecraft_imported_at":"2026-06-01T20:07:47+00:00","_minecraft_import_hash":"2c4d7cbdc48693e78f34717a60e1f3e4","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,92],"mod_loader":[99],"minecraft_version":[47,48,49,50,51,52],"class_list":["post-38725","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-utility","mod_loader-fabric","minecraft_version-1-16-4","minecraft_version-1-16-5","minecraft_version-1-17","minecraft_version-1-17-1","minecraft_version-1-18","minecraft_version-1-18-1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Chat Lag Fix - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chat Lag Fix - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Fixes Minecraft client lag from receiving chat messages (for 1.17 and 1.16)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.discordapp.com\/attachments\/857368936672526356\/929654718660214804\/chat-lag.gif\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-lag-fix\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-lag-fix\\\/\",\"name\":\"Chat Lag Fix - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-lag-fix\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-lag-fix\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/chat-lag-fix-icon-icon.png\",\"datePublished\":\"2026-06-01T20:07:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-lag-fix\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-lag-fix\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-lag-fix\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/chat-lag-fix-icon-icon.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/chat-lag-fix-icon-icon.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chat-lag-fix\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Chat Lag Fix\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Chat Lag Fix - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/","og_locale":"en_US","og_type":"article","og_title":"Chat Lag Fix - Minecraft","og_description":"Fixes Minecraft client lag from receiving chat messages (for 1.17 and 1.16)","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/","og_site_name":"Minecraft","og_image":[{"url":"https:\/\/cdn.discordapp.com\/attachments\/857368936672526356\/929654718660214804\/chat-lag.gif","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/","name":"Chat Lag Fix - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/chat-lag-fix-icon-icon.png","datePublished":"2026-06-01T20:07:46+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/chat-lag-fix-icon-icon.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/chat-lag-fix-icon-icon.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/chat-lag-fix\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Chat Lag Fix"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/38725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/38726"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=38725"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=38725"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=38725"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=38725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}