{#if currentView === "home"}

MINECRAFT

JAVA EDITION Release 1.20.4
{:else if currentView === "versions"}

Versions

{#if versions.length === 0}
Loading versions...
{:else} {#each versions as version} {/each} {/if}
{:else if currentView === "settings"}

Settings

{#if javaInstallations.length > 0}

Detected Java Installations:

{#each javaInstallations as java} {/each}
{/if}

The command or path to the Java Runtime Environment. Click "Auto Detect" to find installed Java versions.

{#if uiState.currentView === "home"} {:else if uiState.currentView === "versions"} {:else if uiState.currentView === "settings"} {/if}
{#if isLoginModalOpen}

Login

{#if loginMode === "select"}
OR
e.key === "Enter" && performOfflineLogin()} />
{:else if loginMode === "microsoft"}
{#if msLoginLoading && !deviceCodeData}
Starting login flow...
{:else if deviceCodeData}

1. Go to this URL:

2. Enter this code:

navigator.clipboard.writeText( deviceCodeData?.user_code || "" )} > {deviceCodeData.user_code}

Click code to copy

{msLoginStatus}

This window will update automatically.

{/if}
{/if}
{/if} {#if status !== "Ready"}
Status
{status}
{/if} {#if showJavaDownloadModal}
e.stopPropagation()} >

Download Java (Adoptium)

{#if !isDownloadingJava} {/if}

MC 1.20.5+ requires Java 21, MC 1.17-1.20.4 requires Java 17, older versions require Java 8

{#if javaDownloadStatus}

{javaDownloadStatus}

{/if}

Provided by { e.preventDefault(); openLink("https://adoptium.net"); }}>Eclipse Adoptium

{/if}