Back to mods
Dampened project artwork

Modrinth · Minecraft mod

Dampened

A library for Palladium that adds various interactions for power dampening.

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

Quick answer

Which Dampened release should I use?

Updated 1 year ago
Latest stable file 1.0.2
Game version 1.20.1
Loader Forge

Dampened 1.0.2 targets 1.20.1 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. 1 required mod needs a matching file.

Where it goes

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

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
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 marks this as usable on both the client and server.

What else does Dampened 1.0.2 need?

1.0.2. Change the file and its required mods may change too.

1 required mod needs a matching file

Install Palladium, Geckolib, KubeJS, Curios API and 2 more first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match. 5 come through another mod in the chain.

4 listed on this file 5 pulled in by those mods
Palladium Needed by Dampened 1.0.2
required
Matching file found Matched file: 4.5.8+1.20.1-forge
Geckolib Needed by Dampened 1.0.2
required
Matching file found Matched file: 4.8.4
KubeJS Needed by Dampened 1.0.2
required
Matching file found Matched file: 2001.6.5-build.26+forge
Curios API Needed by Dampened 1.0.2
required
Matching file found Matched file: 5.14.1+1.20.1
Condensed Creative Needed by Palladium
pulled in
Matching file found Matched file: 3.1.3+1.20
Pehkui Needed by Palladium
pulled in
Matching file found Matched file: 3.8.2+1.20.1-forge
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: 2001.2.3-build.10+forge
Cloth Config API Needed by Condensed Creative
pulled in
Matching file found Matched file: 11.1.136+forge

5 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Dampened without breaking your instance.

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

  1. 01

    Stick to this file

    Use 1.0.2. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Palladium, Geckolib, KubeJS, Curios API and 2 more first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match. 5 come through another mod in the chain.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

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

About this project

What does Dampened add?

Image

A Palladium addon adding items and effects related to power dampening.

Dampened is an addon for Palladium that adds blocks, effects, and interactions that will allow addonpack developers to allow for cross-pack power dampening. The hope is to make the process of dampening powers to be as streamlined as possible with this addon.

Instructions for how to properly add compatibility with Dampened to your addon, or integrate Dampened into your addon will be coming soon!

Originally built for Arrzee's Enhanced SMP. Watch now!

Features

Dampening Blocks

  • Dampener Block (Dark Matter)
  • EMP Jammer (Technology)
  • Magic Rune (Magic)
  • Creative Dampening Block

Targeted Dampening

  • Dampening Handcuffs (Dark Matter)
  • Kryptonite-Gold Handcuffs
  • Magic-Dampening Handcuffs
  • Tech-Dampening Belt
  • Dampening Collar (Mutant)

Compatibility

Option 1: Optional Dependency

If you'd like Dampened to be an OPTIONAL dependency for your addon, then take the following steps.

Part 1: Custom Condition

To add Dampened compatibility to your addon, first you need to add a custom power condition.
This can be done by placing the following contents into a file located at addon/<YOUR_NAMESPACE>/kubejs_scripts/safe_player_has_effect.js.

ATTENTION: Replace with your mod's namespace!

/*
    @author Hertz
    @version 2.0
*/

var BuiltInRegistries = Java.loadClass("net.minecraft.core.registries.BuiltInRegistries")

function resolveAllegedBooleanFromObject(thing) {
    if (thing.toString() == 'true') { return true; }
    if (thing.toString() == 'false') { return false; }
    return null
}

StartupEvents.registry('palladium:condition_serializer', (event) => {
    event.create('<YOUR_NAMESPACE>:dampened_by')
    .addProperty("effect", "string", "minecraft:health_boost", "Effect to search for")
    .test((entity, props) => {
        let targetEffect = props.get("effect")
        var toReturn = false
        
        try {
            var fetchedEffect = BuiltInRegistries.MOB_EFFECT.get(targetEffect)
            if (fetchedEffect == null) {
                // throw new Error(`Target effect ${targetEffect} not found!`)
                toReturn = false
            } else {
                toReturn = entity.hasEffect(targetEffect)
            }
        } catch (err) {
            console.log(err)
        }
        
        return !toReturn
    })
});

Part 2: Implementation

Adding the custom condition is as simple as slotting it into a power's unlocking condition. However, to use powers you want to make sure you are not being dampened, so you need to wrap your custom safe_player_has_effect in a palladium:not condition. Below is a snippet of the power JSON file.

"conditions": {
  "unlocking": [
    {
      "type": "<YOUR_NAMESPACE>:dampened_by",
      "effect": "dampened:genetic"
    }
  ]
}

Feel free to switch out the effect that dampens your powers, and you're good to go!

Option 2: Required Dependency

If you'd like Dampened to be a required dependency for your addon (as it is with Arrzee's Multiverse), you can use Palladium's built in palladium:has_effect condition in place of the custom condition.

"conditions": {
  "unlocking": [
    {
      "type": "palladium:has_effect",
      "effect": "dampened:genetic"
    }
  ]
}

You'll want to reflect Dampened as a dependency in your addon's pack.mcmeta or mod's META_INF/mods.toml.

Project description from Modrinth.

Pick your setup

Dampened 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

Dampened versions and loaders

3 of 3 releases match

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