/BetterHurtCam

A mod which allows the user to adjust Minecraft's hurt animation on a slider.

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

"Better-Hurt-Cam"

A Mod which allows you to adjust Minecraft's hurt animation, hurtCameraEffect on a slider.

Installation Guide

  1. Install Minecraft 1.8.9
  2. Install the Forge Loader for 1.8.9
  3. Install the latest Better-Hurt-Cam version
  4. Place the mod in your minecraft/mods directory
For those who would like to build themselves

Build with Gradle using Arch Loom

  • Make sure Java 17 is installed on your computer
  1. Git clone the project: git clone https://github.com/Scherso/ForgeTemplate/
  2. Run:
  • Unix in Terminal:

Note: If you plan to only build once add the —no-daemon flag to the build.

cd ForgeTemplate ; chmod 755 ./gradlew && ./gradlew --refresh-dependencies build
  • Windows in Powershell:

    cd ForgeTemplate ; .\gradlew.bat --refresh-dependencies build
  1. Check the directory ForgeTemplate/build/libs or Windows; ForgeTemplate\build\libs

IDE Setup

  1. Open the project from File > Open... Select ForgeTemplate from it’s given file location.
  2. Let the IDE collect dependencies and index the code. (this may take a couple seconds)
  3. Go to File > Project Structure... > SDKs and make sure an SDK for Java 17 is installed and selected, if not download it here

Build

Test if the environment is set up correctly setup by clicking the refresh button in IntelliJ’s Gradle tab, if it has indexed properly with no errors do the following:

  1. Go to ForgeTemplate > Tasks > loom > genSources in the Gradle tab and run genSources
  2. To build the mod as a jar run ForgeTemplate > Tasks > build > build. Gradle will create a new directory called build.
  3. Once this process is done, the .jar file will be located in build/libs You can see this in your file tree.

Credits

Credits to boomboompower for the original mod, which allows you to completely cancel the hurt effect.

You can find the original mod here