User Tools

Site Tools


games:minecraft_java

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
games:minecraft_java [2020/03/23 18:49] Sean Rhonegames:minecraft_java [2024/08/13 16:00] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Information ====== 
  
-  * Minecraft ((https://www.minecraft.net)) 
-  * Java Edition ((https://www.minecraft.net/download/alternative)) 
- 
-===== Prerequisites ===== 
- 
-  * [[distros:fedora_workstation_gnome|Fedora Workstation]] 
- 
-===== Notes ===== 
- 
-  * TODO 
- 
-====== Install ====== 
- 
-===== Java ===== 
- 
-**** 
- 
-  sudo dnf install 'java-latest-openjdk' && sync 
- 
-==== Set Default Java ==== 
- 
-**** 
- 
-  sudo update-alternatives --config 'java' 
- 
-===== Minecraft ===== 
- 
-**** 
- 
-  rm -Rf ~/'minecraft-launcher' && wget -O '/tmp/Minecraft.tar.gz' 'https://launcher.mojang.com/download/Minecraft.tar.gz' && cd ~ && tar -xvzf '/tmp/Minecraft.tar.gz' 'minecraft-launcher' && rm -f '/tmp/Minecraft.tar.gz' && sync 
- 
-====== Desktop Launcher ====== 
- 
-===== Minecraft ===== 
- 
-  mkdir -p ~/'.local/share/applications' && nano ~/'.local/share/applications/Minecraft.desktop' 
- 
-<code> 
-[Desktop Entry] 
-Name=Minecraft 
-Comment=Prepare for an adventure of limitless possibilities as you build, mine, battle mobs, and explore the ever-changing Minecraft landscape. 
-Categories=Game;Java;AdventureGame;RolePlaying 
-Exec='/usr/bin/java'  
-Type=Application 
-StartupNotify=true 
-Path=/home/CHANGEME/minecraft-launcher 
-Icon=/home/CHANGEME/runescape/oldschool/OSRS.icns 
-StartupWMClass=jagexappletviewer</code> 
- 
-  sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/Minecraft.desktop' 
- 
-====== Quick Commands ====== 
- 
-===== Clear Cache ===== 
- 
-**** 
- 
-  rm -Rf ~/'runescape/oldschool/jagexcache' ~/'runescape/oldschool/jagexappletviewer.preferences' ~/'runescape/oldschool/jagex_cl_oldschool_LIVE.dat' ~/'runescape/oldschool/random.dat' '/tmp/oldschool' && sync 
- 
-===== Execute ===== 
- 
-==== Minecraft ==== 
- 
-**** 
- 
-  cd ~/'minecraft-launcher' && ~/'minecraft-launcher/minecraft-launcher' 
- 
-===== File Manager ===== 
- 
-==== Root ==== 
- 
-**** 
- 
-  gio open ~/'minecraft-launcher' 
- 
-==== User Data ==== 
- 
-**** 
- 
-  gio open ~/'.minecraft' 
- 
-==== Saves ==== 
- 
-**** 
- 
-  gio open ~/'.minecraft/saves' 
- 
-===== Saved Games Data ===== 
- 
-==== Backup ==== 
- 
-  * Creates ''{DATE}-manual-Minecraft-Saves.tar.gz'' in ''~/Downloads'' 
-  * :!: Will replace existing tarballs if this is done more than once **on the same day** 
- 
-  tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d)'-manual-Minecraft-Saves.tar.gz' -C ~/'.minecraft' 'saves' && ls ~/'Downloads/'*'-manual-Minecraft-Saves.tar.gz' 
- 
-==== Restore ==== 
- 
-  * Expects ''*-manual-Minecraft-Saves.tar.gz'' in ''~/Downloads'' 
-  * :!: If that tarball exists, this series of commands will **irreversibly** **delete** the existing ''saves'' folder and replace it with whatever is in that tarball, after a brief 10-second period 
- 
-  ls ~/'Downloads/'*'-manual-Minecraft-Saves.tar.gz' && echo 'You have 10 seconds to stop this if necessary...' && sleep 10 && rm -Rf ~/'.minecraft/saves' && mkdir -p ~/'.minecraft/saves' && tar -xvzf ~/'Downloads/'*'-manual-Minecraft-Saves.tar.gz' -C ~/'.minecraft' 'saves' && sync 
/srv/www/wiki/data/attic/games/minecraft_java.1585003757.txt.gz · Last modified: (external edit)