Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::Made by RU$$ [http://russdev.mooo.com/]
- @Echo off
- Title Set Minecraft Render
- tasklist | find "javaw"
- IF [%errorlevel%] EQU [0] (GOTO :Found) ELSE (GOTO :MENU)
- :Found
- cls
- echo ERROR: Minecraft is open! Please close and try agian.
- echo.
- pause.
- exit
- :MENU
- cls
- echo -------------------------------------------------------------------
- echo - WARNING: -
- echo -------------------------------------------------------------------
- echo - This tool is designed to be used with proper reponsibility. -
- echo - Misuse may lead to a frozen game, corrupted game settings, -
- echo - and possibly high system temperatures. -
- echo -------------------------------------------------------------------
- echo.
- echo INSTRUCTIONS:
- echo 1. Make sure game is CLOSED
- echo 2. Type a custom render! (numeric numbers only)
- echo.
- echo OPTIONS:
- echo 1. Type "delete" to delete config.
- echo 2. Type "exit" to quit.
- echo -------------------------------------------------------------------------------
- echo.
- set /p render=Enter a custom render:
- IF /I '%render%'=='' GOTO :MENU
- IF /I '%render%'=='delete' GOTO :DEL
- IF /I '%render%'=='exit' (exit) ELSE (GOTO :SET)
- GOTO :MENU
- :DEL
- cls
- DEL "C:\Users\%username%\AppData\Roaming\.minecraft\options.txt"
- echo Config has been deleted!
- echo.
- pause
- exit
- :SET
- cls
- cd C:\Users\%username%\AppData\Roaming\.minecraft
- powershell -Command "(gc options.txt) -replace '(renderDistance:)\d+', 'renderDistance:%render%' | sc options.txt"
- powershell -Command "$Host.UI.RawUI.WindowTitle = """Set Minecraft Render"""
- goto :FINISHED
- :FINISHED
- cls
- echo Render has been set: %render%
- echo.
- pause
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement