Back to mods
CollisionDamage project artwork

CurseForge · Minecraft mod

CollisionDamage

Collision Damage Mod introduces a customizable potion effect that deals additional damage to entities upon collision at high speeds

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which CollisionDamage release should I use?

Updated 2 years ago
Latest stable file CollisionDamage.jar
Game version 1.12.2
Loader Forge

CollisionDamage.jar targets 1.12.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is CollisionDamage required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does CollisionDamage.jar need?

CollisionDamage.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add CollisionDamage without breaking your instance.

Built for CollisionDamage.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use CollisionDamage.jar. It targets 1.12.2 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside CollisionDamage.jar. It opens that exact file at the source.

About this project

What does CollisionDamage add?

Introduction:

  1. The Collision Damage Mod introduces a new potion effect: Collision Damage. This effect allows entities to deal damage and apply horizontal knockback to collision targets when moving at high speeds, making it convenient for integration pack or addon authors to use.

  2. Potion effect command:
    /effect @s collisiondamage:collision_damage <duration> <level>

Key Features:

  • Speed Threshold: When the speed exceeds 10 m/s, colliding with other entities inflicts damage proportional to the speed.
    Damage formula: Damage = Speed × Potion Level × 0.1

  • Speed Display: When the player has the Collision Damage effect, their real-time vector speed is displayed in the upper-right corner of the inventory screen.


Working Principle:

  1. Speed Calculation:
    When an entity has the Collision Damage effect, the mod calculates the change in the entity's x, y, and z coordinates for each tick. Using the Euclidean formula, it determines the distance between the entity's position at the start and end of the tick. Dividing this distance by the tick duration (default 0.02 seconds) yields the average speed for that tick.

  2. Collision Detection:
    While calculating speed, the mod checks once per tick for other entities within a 1-block radius of the entity with the Collision Damage effect. If another entity is detected and the user's speed exceeds 10 m/s, the detected entity takes damage based on the formula:
    Damage = Speed × Potion Level × 0.1.

Project description from CurseForge.

Pick your setup

CollisionDamage by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

CollisionDamage versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.