A direct modification of Scherso's BetterHurtCam mod, which allows you to adjust Minecraft's hurt animation based on damage sources and player conditions, by selecting a number. Scherso's BetterHurtCam mod was originally inspired by boomboompower's HurtAnimationRemover mod, which cancels Minecraft's hurt animation regardless of the damage source/player conditions. Licensed under the GNU-GPL v3 license as per the terms of section 5. Development of BestHurtCam originally began in mid-February 2022, halted almost immediately after due to personal circumstances, and finally finished on mid May 2022.
Disclaimer: BestHurtCam only supports Minecraft Forge 1.8.9, unlike its ancestor BetterHurtCam by Scherso, which supports multiple versions of Minecraft.
- Install Minecraft 1.8.9
- Install the Forge Loader for 1.8.9
- Build this repository
- Place the resulting file in your
minecraft/mods
directory
For those who would like to build themselves (the original guide Scherso included for BetterHurtCam)
- Make sure Java 17 is installed on your computer
- Git clone the project:
git clone https://github.com/Scherso/ForgeTemplate/
- 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
- Check the directory
ForgeTemplate/build/libs
or Windows;ForgeTemplate\build\libs
For IntelliJ
- Open the project from
File > Open...
Select ForgeTemplate from it’s given file location. - Let the IDE collect dependencies and index the code. (this may take a couple seconds)
- Go to
File > Project Structure... > SDKs
and make sure an SDK for Java 17 is installed and selected, if not download it here
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:
- Go to
ForgeTemplate > Tasks > loom > genSources
in the Gradle tab and rungenSources
- To build the mod as a jar run
ForgeTemplate > Tasks > build > build
. Gradle will create a new directory calledbuild
. - Once this process is done, the .jar file will be located in
build/libs
You can see this in your file tree.
How I built this mod (not sure why you'd like to know it, but here it is anyways in case you use macOS)
- Make sure the Java 8 JDK is installed on your (macOS) computer, as well as macOS Homebrew.
- Additionally, make sure your macOS Terminal is set to running on the
bash
shell and not thezsh
shell.
- Open the macOS Terminal,
brew install git
orbrew upgrade git
if necessary. git clone https://github.com/RayDeeUx/BestHurtCam/ && cd BestHurtCam/ && chmod 755 ./gradlew && ./gradlew build
- Check
BestHurtCam/build/libs
for the resulting.jar
file.
Feature | BestHurtCam | BetterHurtCam | HurtAnimationRemover |
---|---|---|---|
Option to cancel camera rotation when hurt | Yes (via "0" config value) |
Yes (via "0" config value) |
Yes (by default) |
Flexible config values beyond entirely cancelling the camera rotation when hurt | Yes (-360 to 360, inclusive) |
Yes (0 to 100, inclusive) |
No |
Distinct config values based on player conditions | Yes | Yes | No |
Anti-rotation abuse to comply with Hypixel's mods guidelines | No (by dev's choice) |
No (by dev's choice) |
No (by default) |
Camera rotation options for while in water | Yes | No | N/A |
Camera rotation options per damage source | Yes | No | N/A |
Camera rotation multipliers per player condition | Yes | No | N/A |
Mildly more control over rotation intensity | Yes | No (Essential's sliders do be finicky) |
N/A |
Camera rotates to left | Yes (via negative rotation intensities) |
No | No |
Earthquake mode (jittery camera shake) | Yes | No | No |
Minecraft version support | 1.8.9 | 1.8.9, 1.18.x | 1.16.4 |
Credits to boomboompower for the HurtAnimationRemover mod, which allows you to completely cancel the hurt effect. You can find boomboompower's HurtAnimationRemover mod here.
Credits to Scherso for the BetterHurtCam mod, which added slightly more options to customize the hurt effect. You can find Scherso's BetterHurtCam mod here.
Credits to the folks over at the Essential organization for making Minecraft modding an easier experience for both users and developers. You can check out Essential here.