Simple Damage Caps

Quick rating

Simple Damage Caps

No reviews yet

Data-driven and fully customizable mod that allows you to put arbitrary per-hit damage caps on any mob.

QoL & Tweaks
Mod Loaders
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
GNU General Public License v3.0 or later
Latest Version
Simple Damage Caps - 2.0 Hotfix 1.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Overview

A member of the Minecraft Pack Development discord was looking for a mod to cap the amount of damage an entity could recieve in a single blow, and other mods on offer weren't configurable or customizable enough. As such I quickly threw together this mod allowing you to set per-entity damage caps with Neoforge's Datamaps.

Configuration

Configuration of the mod is entirely done through datapacks.

  • Three shortcut tags exist for pack devs who just want a simple damage cap and aren't interested in configuration via datamaps. Entity Types tagged with #simpledamagecaps:default_flat_damage_cap, #simpledamagecaps:default_percentage_damage_cap, and #simpledamagecaps:invincible will be able to take no more than 15 damage per hit, 5% of max health per hit, and no damage at all, respectively. 
  • Damage types can be assigned to the damage type tag #simpledamagecaps:bypasses_damage_cap in order to completely bypass the damage cap on all mobs. This defaults to damage types that bypass invulnerability (such as /kill and void damage) in vanilla.
  • Damage caps for individual entities and entity type tags can be assigned through two simple datamaps located in {your_namespace}/data_maps/entity_type/. See the spoiler below for an example.
/// damage_caps_flat.json
{
    "values": [
        "minecraft:wither": 15,
        "#minecraft:raiders": 5,
        "{entity_or_entity_type_tag_in_quotes}": {damage cap here}
    ]
}

/// damage_caps_percentage.json
{
    "values": [
        "minecraft:wither": 0.15,
        "#minecraft:raiders": 0.05,
        "{entity_or_entity_type_tag_in_quotes}": {damage cap as decimal percentage of max health)
}

Ports

Will only happen to the lastest "community consensus" modding version, at my discretion. For this mod in particular, if someone PRs a 1.20.1 port I'm willing to support it, I just don't know how to mod on 1.20

Overview

A member of the Minecraft Pack Development discord was looking for a mod to cap the amount of damage an entity could recieve in a single blow, and other mods on offer weren't configurable or customizable enough. As such I quickly threw together this mod allowing you to set per-entity damage caps with Neoforge's Datamaps.

Configuration

Configuration of the mod is entirely done through datapacks.

  • Three shortcut tags exist for pack devs who just want a simple damage cap and aren't interested in configuration via datamaps. Entity Types tagged with #simpledamagecaps:default_flat_damage_cap, #simpledamagecaps:default_percentage_damage_cap, and #simpledamagecaps:invincible will be able to take no more than 15 damage per hit, 5% of max health per hit, and no damage at all, respectively.
  • Damage types can be assigned to the damage type tag #simpledamagecaps:bypasses_damage_cap in order to completely bypass the damage cap on all mobs. This defaults to damage types that bypass invulnerability (such as /kill and void damage) in vanilla.
  • Damage caps for individual entities and entity type tags can be assigned through two simple datamaps located in {your_namespace}/data_maps/entity_type/. See the spoiler below for an example.
/// damage_caps_flat.json
{
    "values": [
        "minecraft:wither": 15,
        "#minecraft:raiders": 5,
        "{entity_or_entity_type_tag_in_quotes}": {damage cap here}
    ]
}

/// damage_caps_percentage.json
{
    "values": [
        "minecraft:wither": 0.15,
        "#minecraft:raiders": 0.05,
        "{entity_or_entity_type_tag_in_quotes}": {damage cap as decimal percentage of max health)
}

Ports

Will only happen to the lastest "community consensus" modding version, at my discretion.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works