Home›Java›Mods›Protection Change
ModsJava

Protection Change

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by HaHAjax · on Modrinth

⬇ Download on Modrinth

Modifies the protection enchantment's damage reduction formula to be a configurable value.

Ideal for modpacks where enchants can go past the vanilla/default maximum, there's armor sets with higher amounts of armor and armor toughness than netherite, or any other case where using protection becomes cancerous for PvP and/or makes PvE trivial, while keeping protection is preferable.

If you have any questions, concerns, or feature requests, either email me at hahajax@proton.me, DM me on Discord by my handle hahajax, or open an issue on the GitHub

Config Guide

Formula Type

Max Protection Levels

Square Root Constant

Root Exponent

Linear Rate

AI Disclosure

I only used it to gain my footing with modding, alongside critical thinking skills to determine what exactly was happening with the code, and how to actually use it. Once I learned how to do a thing and how it works by example from gen-ai, I no longer used it whatsoever for that thing and anything similar enough. If there was a good bit of documentation somewhere, I used that instead. The only thing that was guided by ai was the mixin used. The exact mixin and what I put were entirely made by me; I would have had many more headaches trying to figure out how to do a mixin for anything if I had instead tried to understand Neoforge's (kinda bad) documentation the internet for random stackoverflow threads.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more