Back to mods
Ouch! project artwork

Modrinth · Minecraft mod

Ouch!

Customisable, server side damage indicator! For Fabric

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

Quick answer

Which Ouch! release should I use?

Updated 2 months ago
Latest stable file 1.9.0+26.2
Game version 26.2
Loader Fabric

Ouch! 1.9.0+26.2 targets 26.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Ouch! required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

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

This file is marked server-only.

What else does Ouch! 1.9.0+26.2 need?

1.9.0+26.2. 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 Ouch! without breaking your instance.

Built for Ouch! 1.9.0+26.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.9.0+26.2. It targets 26.2 with Fabric; 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

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.9.0+26.2. It opens that exact file at the source.

About this project

What does Ouch! add?

Ouch!

Tired of guessing how much damage entity you attacked took? Or maybe you just wanted to make fights look bit fancier?
Then this mod is for you!

Ouch! is Fabric (and Quilt) server side modification powered by
Polymer which adds number/text particle effect activated after
entity getting damaged, dying or getting healed (by default only damage/healing is visible)! This mod is also
fully configurable allowing to change the text (color and display), size, movement and visibility time, depending
on predicates testing for damage type, victim (damaged entity), source (attacker or projectile) and attacker (attacker).
It can also display multiple particles with different setting for same damage, allowing for extra fun messages and alike.

== Download on Modrinth ==

Configuration.

This mod config file is stored as ./config/ouch.json.

Preset selection config.

By default, config is in a format of preset selection, allowing you to choose default style/look that's built into the mod.

{
  "preset": "default"
}

Available presets: default, minimal

Full config.

This config allows you to change any text and it's behaviour. Can be used for advanced configuration.
Default values used by presets can be found here: https://github.com/Patbox/ouch/tree/master/preset
All custom text within it uses the QuickText format.
All predicates use are supplied by Predicate API, using this format.
Lines prefixed with // aren't part of real config and are here just to explain it.

{
  // All display values for damage.
  "damage": [
    // Top layer array defines lists in which text/settings will be found.
    // Only single definition from each included array is used. They are matched from top to bottom.
    [
      // Text/Display definition.
      {
        // [Optional] Matches damage by type, being either a single entry ("minecraft:generic")
        // a tag ("#minecraft:is_fire") or list of entries (["minecraft:mob_attack", "minecraft:player_attack"])
        // By default (not set), it matches everything.
        "type": "...",
        // [Optional] Predicate checking for victim (damaged entity).
        // By default, always succeeds.
        "victim": {
          "type": "..."
        },
        // [Optional] Predicate checking for attacker (entity which attacked entity).
        // By default, always succeeds.
        "attacker": {
          "type": "..."
        },
        // [Optional] Predicate checking for source (projectile or attacker).
        // By default, always succeeds.
        "source": {
          "type": "..."
        },
        // [Optional] A minimal amount of damage required for this to display.
        // By default, not set.
        "min_value": 0,
        // [Optional] A maximal amount of damage allowed for this to display.
        // By default, not set.
        "max_value": 999999,
        // [Optional] A floating point number from 0 to 1 (inclusive) describing change
        // this message is selected. 1 means it's always selected if other properties match,
        // 0.5 is 50% and 0 is never.
        // By default, it's set to 1.
        "chance": 1,
        // [Optional] Sets value velocity of particle is multiplied by every tick.
        // It needs to be a number between 0 and 1
        // Default value: 0.7
        "per_tick_velocity_multiplier": 0.7,
        // [Optional] Sets value of (downwards) gravity particle is effected by.
        // It needs to be a number between -1 and 1
        // Default value: 0.05
        "gravity": 0.05,
        // [Optional] Sets the time (in ticks, 20 ticks is a second), the particle is
        // visible for. It needs to be a number larger than 0.
        // Default value: 20
        "staying_time": 20,
        // [Optional] Sets the scale/size of the particle.
        // It needs to be a number between 0 and 5
        // Default value: 0.8
        "text_scale": 0.8,
        // [Optional] Overrides calculated velocity with a static one.
        // Default value: not set / uses calculated one.
        "velocity_override": [0, 2, 0],
        // Text used for damage particle. Has placeholders:
        // ${value} - shows rounded damage with 1 number as decimal part.
        // ${value_rounded} - shows rounded damage rounded to integer.
        // ${value_raw} - shows raw damage value.
        "text": "<red>-${value}"
      }
    ]
  ],
  // All display values for death text.
  "death": [
    // Top layer array defines lists in which text/settings will be found.
    // Only single definition from each included array is used. They are matched from top to bottom.
    [
      // Text/Display definition.
      {
        // [Optional] Matches damage by type, being either a single entry ("minecraft:generic")
        // a tag ("#minecraft:is_fire") or list of entries (["minecraft:mob_attack", "minecraft:player_attack"])
        // By default (not set), it matches everything.
        "type": "...",
        // [Optional] Predicate checking for victim (damaged entity).
        // By default, always succeeds.
        "victim": {
          "type": "..."
        },
        // [Optional] Predicate checking for attacker (entity which attacked entity).
        // By default, always succeeds.
        "attacker": {
          "type": "..."
        },
        // [Optional] Predicate checking for source (projectile or attacker).
        // By default, always succeeds.
        "source": {
          "type": "..."
        },
        // [Optional] A minimal amount of healing required for this to display.
        // By default, not set.
        "min_value": 0,
        // [Optional] A maximal amount of healing allowed for this to display.
        // By default, not set.
        "max_value": 999999,
        // [Optional] A floating point number from 0 to 1 (inclusive) describing change
        // this message is selected. 1 means it's always selected if other properties match,
        // 0.5 is 50% and 0 is never.
        // By default, it's set to 1.
        "chance": 1,
        // [Optional] Sets value velocity of particle is multiplied by every tick.
        // It needs to be a number between 0 and 1
        // Default value: 0.7
        "per_tick_velocity_multiplier": 0.7,
        // [Optional] Sets value of (downwards) gravity particle is effected by.
        // It needs to be a number between -1 and 1
        // Default value: 0.05
        "gravity": 0.05,
        // [Optional] Sets the time (in ticks, 20 ticks is a second), the particle is
        // visible for. It needs to be a number larger than 0.
        // Default value: 20
        "staying_time": 20,
        // [Optional] Sets the scale/size of the particle.
        // It needs to be a number between 0 and 5
        // Default value: 0.8
        "text_scale": 0.8,
        // [Optional] Overrides calculated velocity with a static one.
        // Default value: not set / uses calculated one.
        "velocity_override": [0, 2, 0],
        // Text used for damage particle. Has placeholders:
        // ${message} - death message used.
        // ${victim} - name of the victim.
        // ${attacker} - name of the attacker.
        "text": "<red>${message}"
      }
    ]
  ],
  // All display values for healing.
  "healing": [
    // Top layer array defines lists in which text/settings will be found.
    // Only single definition from each included array is used. They are matched from top to bottom.
    [
      // Text/Display definition.
      {
        // [Optional] Predicate checking for healed entity.
        // By default, always succeeds.
        "entity": {
          "type": "..."
        },
        // [Optional] A floating point number from 0 to 1 (inclusive) describing change
        // this message is selected. 1 means it's always selected if other properties match,
        // 0.5 is 50% and 0 is never.
        // By default, it's set to 1.
        "chance": 1,
        // [Optional] Sets value velocity of particle is multiplied by every tick.
        // It needs to be a number between 0 and 1
        // Default value: 0.7
        "per_tick_velocity_multiplier": 0.7,
        // [Optional] Sets value of (downwards) gravity particle is effected by.
        // It needs to be a number between -1 and 1
        // Default value: 0.05
        "gravity": 0.05,
        // [Optional] Sets the time (in ticks, 20 ticks is a second), the particle is
        // visible for. It needs to be a number larger than 0.
        // Default value: 20
        "staying_time": 20,
        // [Optional] Sets the scale/size of the particle.
        // It needs to be a number between 0 and 5
        // Default value: 0.8
        "text_scale": 0.8,
        // [Optional] Overrides calculated velocity with a static one.
        // Default value: not set / uses calculated one.
        "velocity_override": [0, 2, 0],
        // Text used for healing particle. Has placeholders:
        // ${value} - shows rounded healing amount with 1 number as decimal part.
        // ${value_rounded} - shows healing amount rounded to integer.
        // ${value_raw} - shows raw healing amount value.
        "text": "<green>+${value}"
      }
    ]
  ]
}

Project description from Modrinth.

Pick your setup

Ouch! by Minecraft version and loader

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

30 available setups

Showing the newest 12 of 17 game versions. Older files are in the list below.

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

Recent files

Ouch! versions and loaders

12 of 12 releases match

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