{#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

The command or path to the Java Runtime Environment.

{/if}
e.key === "Enter" && openLoginModal()} >
{#if currentAccount} {currentAccount.username} {:else} ? {/if}
{currentAccount ? currentAccount.username : "Click to Login"}
{currentAccount ? "Ready" : "Guest"}
{#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}