Type
Title
Icon
Preview
Show it in game
Put the data pack in your world's datapacks folder, run /reload, then the grant command. Revoke it to show the toast again. Java 1.21 and newer.
/advancement grant @s only toast:diamonds/advancement revoke @s only toast:diamondsThe same toast the game draws
The popup is the game's own 160 by 32 toast texture with the item at its left and the text in the game's font, laid out where the game puts it: the type in yellow (pink for a challenge), the title in white below.
The three types match the three advancement frames. Advancement is the everyday one, Goal is for long-term targets like a full beacon, and Challenge is the pink one the game saves for hard advancements such as Monsters Hunted, for killing every hostile mob. Download the image at up to eight times the game's size for thumbnails and videos.
For a full list of the real ones, see every Minecraft advancement, and the advancement command generator grants and revokes them.
Frequently Asked Questions
How do I make a custom achievement appear in Minecraft?
Download the data pack above, put the zip in your world's datapacks folder, run /reload and then the /advancement grant command. The toast slides in at the top right exactly like a real one. To see it again, run the revoke command and grant it once more. It needs cheats on, Java 1.21 or newer.
What is the difference between an achievement and an advancement?
Achievements were the old system, before 1.12, and their popup said "Achievement get!". Advancements replaced them in 1.12 and come in three kinds, each with its own popup: Advancement Made, Goal Reached and Challenge Complete. Bedrock Edition still calls its version achievements.
Why does a long title push the "Advancement Made!" line away?
That is how the game does it. A title that fits on one line sits under the yellow "Advancement Made!". A longer one wraps at 125 pixels, and the game shows the type for a moment and then replaces it with the full title, so the image shows the wrapped title on its own.