HomeJavaModsSimple Damage Caps
Simple Damage Caps

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.

/// 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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more