How a custom ESC menu works
Minecraft does not let a server change the pause menu itself. A resource pack can change the texts, though, and a text can contain pictures: custom font characters. ItemsAdder replaces the button labels in every language with minecraft_lang_overwrite and turns your PNGs into such characters.
Each label becomes a chain like :offset_-50::esc_menu_options::offset_-51:. The first shift moves the picture one pixel left of the button edge, the picture covers the whole button, and the second shift brings the total width of the label back to zero. Minecraft centres a label inside its button, and only a label wider than the button would start to scroll and be cut off. A width of zero never does.
The client measures a picture from its leftmost pixel to its rightmost painted column, not from the PNG width, and adds one pixel. The generator measures every picture the same way, so the numbers in esc_images.yml always fit the PNGs in the ZIP.
HD icons on the buttons
Switch Icons to HD and every button icon is a 64×64 pixel-art picture from the same set as the GUI maker. The pack keeps it as its own font picture, 64×64 pixels shown 16 GUI pixels tall, and places it next to the label in the same zero-advance chain, so the label still never scrolls. Icons that only exist in HD fall back to the question mark when you switch back to Classic.
Minecraft versions
From 1.20.5 to 26.1 the menu has the same grid: one wide button, three rows of two buttons and a wide Disconnect button. With server links (1.21+) the third row shows Feedback… and Server Links…. In 26.2 and 26.3 the third row became four small icon buttons and Options moved. The generator knows these layouts; pick the one most of your players use.
What a resource pack cannot do
- Buttons cannot be removed or moved. A button without label stays clickable.
- The picture lies over the button, so the button does not light up under the mouse.
- Players on another Minecraft version than the one you chose can see the pictures slightly off.
Install with ItemsAdder
- Unzip the ZIP into
plugins/ItemsAdder/. It brings contents/<namespace>/configs/ and contents/<namespace>/textures/. - Run
/iazip so ItemsAdder rebuilds the resource pack. - Rejoin the server and press ESC.
Without plugin
The resource pack ZIP does the same with plain Minecraft files: the pictures in assets/minecraft/font/default.json, the shifts as a space font and the labels in assets/minecraft/lang/ for all languages. Set it as resource-pack in server.properties or copy the assets into the pack you already send.