Description
This is a port of fonnymunkey's Collision Damage to 1.20.1. All credit goes to its original author.
This mod adds acceleration-based collision damage.
This mod uses the modern FMLJavaModLoadingContext constructor, mod event bus, and Dist.CLIENT. Networking is replaced with a SimpleChannel using protocol versioning, FriendlyByteBuf, and a Supplier<NetworkEvent.Context> handler. Config's are replaced with ForgeConfigSpec. Mappings updated to Mojmap/1.20.1.
The core damage formula is unchanged from the original. This mod is for people who want the original mod and nothing else. If you want this acceleration-based damage mechanic with more features, try Full Stop! by justcama: https://www.curseforge.com/minecraft/mc-mods/full-stop/files/5869563
Config options added:
maxDamage: Cap maximum damage per hit.
ignoreWhenRiding: Skip damage while on boats, horses, etc.
ignoreInWater: Skip damage when underwater.
Include Y Axis: Include Y Axis collision damage from upward impacts.
Credit:
fonnymunkey's Collision Damage: https://www.curseforge.com/minecraft/mc-mods/collision-damage
