@echo off
setlocal

rem >>> wczytaj nick z nickname.txt w tym samym folderze co BAT
set /p MCNAME=<"%~dp0nickname.txt"

"C:\Program Files\Java\jre1.8.0_471\bin\java.exe" -Xmx1024M -Xms1024M -cp Minecraft.jar;lwjgl.jar;lwjgl_util.jar;jinput.jar "-Dorg.lwjgl.librarypath=%CD%/natives" "-Dnet.java.games.input.librarypath=%CD%/natives" net.minecraft.client.Minecraft %MCNAME%
