Credit Sequence

The "End Poem" is a text-based message that appears when the player uses the exit portal.

Obtaining
When the ender dragon dies, the exit portal is activated, allowing the player to return safely to the Overworld. The poem is shown the first time the player enters the exit portal based on their  tag being 0 (false), after which it is changed to 1 (true) once the player enters the exit portal.

The End Poem can be skipped by pressing $$ or tapping "Skip" $$.

When the End Poem ends, or the player skips the poem, the player respawns at their spawn point.

Contents
The poem itself takes the form of a dialogue between two unidentified speakers who are discussing the player's accomplishments, and lasts 9 minutes 28 seconds. After the poem is finished, the credits play. During the poem and the credits the track  ("Alpha" in the official soundtrack) plays.

Technical details
The End Poem and credits are stored in client.jar; the text of the End Poem is located in, and the text of the credits is in. They can both be edited with a resource pack. The first speaker's dialog uses the formatting code  (or dark aqua), and the second speaker's uses   (or dark green). The player's name is inserted with, and the scrambled text is stored as.

Trivia

 * At the end of the credits, the following quote is attached. It's widely, but controversially attributed to Mark Twain:

"Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover."

- Unknown