Skip to content

This is my mod for Minecraft 1.7.10 for zooming in, like how Optifine does.

License

Notifications You must be signed in to change notification settings

CoconutMacaroon/CocomacZoomMod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cocomac's Zoom Mod

This is my mod for Minecraft 1.7.10 for zooming in, like how Optifine does. Z activates zoom. F and G adjust the zoom level. Note that the zoom level can only be adjusted while zoom is off (e.g. when Z is not being pressed). The keys can be customized in the Minecraft settings.

Setting it up

If you want to build this mod yourself, here is how I did it

My envoirnment

First, I installed OpenJDK 8 from AdoptOpenJDK. When I installed the JDK, I told the installer to set JAVA_HOME to the correct value. This is important. If you do not have JAVA_HOME set in the installer, go back and reinstall the JDK, and tell the installer to set JAVA_HOME. I am using Windows 10.

Setting up the mod

Clone the repo. To do this, open PowerShell, and type in git clone https://github.com/CoconutMacaroon/CocomacZoomMod. Then do cd CocomacZoomMod. Now you are in the directory to build the mod. To run the mod, do .\gradlew runClient. This will build the mod from the *.java files and launch Minecraft with the mod. To build a JAR file from the mod, run .\gradlew build.

Changing the mod

I made the mod in Intellij Idea, but you could use another editor (even Notepad, although I don't advise it). The Java files for the mod are in src/main/java/com/example/examplemod. The code has comments explaining what it does, but if you have questions or errors, feel free to raise an issue.

Helpful Resources

These were resources that helped me make this mod: