Minecraft: Difference between revisions
m Sorry, forgot to link home-manager |
m Updated the java compatibility table with versions 1.20.5+ https://minecraft.wiki/w/Java_Edition_1.20.5#cite_note-2 |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
[https://www.minecraft.net/about-minecraft Minecraft] is a sandbox game about building, surviving, fighting, and being creative, developed by Mojang Studios.<ref>[https://www.minecraft.net/en-us/about-minecraft https://www.minecraft.net/about-minecraft]</ref> | [https://www.minecraft.net/about-minecraft Minecraft] is a sandbox game about building, surviving, fighting, and being creative, developed by Mojang Studios.<ref>[https://www.minecraft.net/en-us/about-minecraft https://www.minecraft.net/about-minecraft]</ref> [https://www.minecraft.net/about-minecraft Minecraft] currently has two supported variants known as: | ||
[https://www.minecraft.net/about-minecraft Minecraft] has two variants: | |||
* Minecraft: Java Edition is only available on Windows, MacOS and Linux and is known for modding. | * Minecraft: Java Edition is only available on Windows, MacOS and Linux and is known for modding. | ||
* Minecraft: Bedrock Edition is available on Windows, Xbox One, Xbox Series S and X, PlayStation 4 and 5, Nintendo Switch, Android, iOS. Bedrock is not playable on Linux due to UWP applications not being supported on Linux.<ref>https://www.minecraft.net/article/java-or-bedrock-edition</ref><ref>[https://learn.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide https://learn.microsoft.com/windows/uwp/get-started/universal-application-platform-guide]</ref> | * Minecraft: Bedrock Edition is available on Windows, Xbox One, Xbox Series S and X, PlayStation 4 and 5, Nintendo Switch, Android, iOS. Bedrock is not playable on Linux due to UWP applications not being supported on Linux.<ref>https://www.minecraft.net/article/java-or-bedrock-edition</ref><ref>[https://learn.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide https://learn.microsoft.com/windows/uwp/get-started/universal-application-platform-guide]</ref> | ||
== Launchers == | == Launchers == | ||
'''Offical Minecraft Launcher:''' [https://www.minecraft.net/download Website] — [https://search.nixos.org/packages?show=minecraft Package/pkgs.minecraft] {{ | '''Offical Minecraft Launcher:''' [https://www.minecraft.net/download Website] — [https://search.nixos.org/packages?show=minecraft Package/pkgs.minecraft] {{warning|1.19 or higher is not working on NixOS, using alternative clients is strongly recommended.}} | ||
'''Prismlauncher:''' A free, open source launcher. [https://prismlauncher.org/ Website] — [https://search.nixos.org/packages?show=prismlauncher Package/pkgs.prismlauncher] | '''Prismlauncher:''' A free, open source launcher. [https://prismlauncher.org/ Website] — [https://search.nixos.org/packages?show=prismlauncher Package/pkgs.prismlauncher] | ||
Line 24: | Line 21: | ||
pkgs.<LAUNCHER> | pkgs.<LAUNCHER> | ||
]; | ]; | ||
</syntaxhighlight>Alternatively, the package can be installed per-user with <code>users.users.< | </syntaxhighlight>Alternatively, the package can be installed per-user with <code>users.users.<USER>.packages</code> or [[Home Manager|home-manager]]. For nix native, use:<syntaxhighlight lang="nix"> | ||
users.users.<USER>.packages = [ | |||
pkgs.<LAUNCHER> | pkgs.<LAUNCHER> | ||
]; | ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
For [[home-manager]], use:<syntaxhighlight lang="nix"> | For [[Home Manager|home-manager]], use:<syntaxhighlight lang="nix"> | ||
home.packages = [ | home.packages = [ | ||
pkgs.<LAUNCHER> | pkgs.<LAUNCHER> | ||
Line 37: | Line 34: | ||
== Troubleshooting == | == Troubleshooting == | ||
=== ATlauncher can't start instance === | |||
By default, ATlauncher installs its own Java runtime in <code>**USERSDIR**/runtimes/minecraft</code>, which gets selected in the settings' <code>Java Path</code>. | |||
To fix this, make sure to select the java version installed in the system store from the <code>Settings > Java/Minecraft > Java Path</code> menu and also disable the <code>Use Java Provided By Minecraft?</code> option. | |||
If your instance still doesn't start, check the instance settings and apply the same changes there. | |||
=== Prismlauncher doesn't have Java Version XX. === | === Prismlauncher doesn't have Java Version XX. === | ||
Line 56: | Line 60: | ||
|>= 1.18 | |>= 1.18 | ||
|17 | |17 | ||
|- | |||
|>= 1.20.5 | |||
|21 | |||
|} | |} | ||
=== Official Minecraft Launcher fails to start the game. === | === Official Minecraft Launcher fails to start the game. === | ||
It is possible that you are attempting to start a version of Minecraft that is 1.19 or higher. Unfortunately, this is broken on NixOS. It is strongly recommended to use alternative launchers. | It is possible that you are attempting to start a version of Minecraft that is 1.19 or higher. Unfortunately, this is broken on NixOS. It is strongly recommended to use alternative launchers. | ||
[[Category: Applications]] | |||
[[Category: Gaming]] |