Pehkui Hurts
ModAdds mob collision damage based on size differences.
Description
Adds mob collision damage based on size differences.
Update:
- Players are now given a random size on first spawn.
- Optional toggle to turn on and off both the collision logic and random size. Both are on by default.
- Can coustomize each randomly picked size in config file.
I've only tested it on 1.20.1 with pehkui 3.8.2, but it should work on other versions.
How the collision logic works:
Spoiler
-
First it checks if the bigger mob is moving into the smaller mob.
-
Then it finds the scale difference between the two coliding mobs.
-
Then it checks if the bigger one is at least 4x the scale.
-
Then it checks if the bigger mob is less than 100x the scale.
-
Then it adds random variance to the difference.
-
After adding varience it checks if the bigger mob was either walking, sprinting, crouching, or falling, adding different multipliers off that.
-
Finally it checks if config allows the smaller mob to die before applying the difference as damage to the smaller mob.
You may put my mod in whatever you want, whether it's a modpack, or your own mod, just make sure people are able to either find my name or the mod page. You can not edit my code and upload it as your own, this means you can edit, and use it privately, just dont upload it without my permission.
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Big Globe - Universal Ores Compatibility
Adds compatibility between Big Globe and Universal Ores
Skyfall: Crates
Adds easily customizable loot crates for server and world events.
Quark Recipes Twilight Forest
Resolves the recipe conflict between Twilight Forest and Quark's chest and bookcase recipes
Radiant Gear NeoForged
A NeoForge port for 1.21.1 that combines Radiant Gear, Curios Lanterns into a single mod
True Darkness
Makes darkness truly dark. Light level 0 renders as pure black, even gamma settings can't bypass it.
Fix Flashback
Fixes the NoClassDefFoundError crash caused by Flashback running on NeoForge via Sinytra Connector