Dampened

Quick rating

Community listing page, reviews here may not be monitored by the author.

Dampened

By h_rtzOwner , hashbeep

No reviews yet

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

No Theme
Tech
Mod Addon
API/Library
Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
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

Where It Runs
Client and Server

Must be installed on both the client and the server.

About

Project Details

Type
Mod
License
All Rights Reserved
Latest Version
Dampened v1.2.0

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

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

Please see the Modrinth page for information on adding compatibility!

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

Screenshots

Gallery

  • Blocks and Adjustable Radii
    Blocks and Adjustable Radii Redstone-enabled!
  • Kryptonite Gold Handcuffs in Inventory Screen
    Kryptonite Gold Handcuffs in Inventory Screen Preview of it in the inventory screen
  • Kryptonite Gold Cuffs
    Kryptonite Gold Cuffs Dampens Kryptonian DNA / Applies Kryptonite Poisoning
  • Dampening Block Recipe
    Dampening Block Recipe Blocks of Titanium, Nether Star Fragment, Vibranium Circuit
  • Mutant Dampening Collar
    Mutant Dampening Collar Dampens Genetic-based powers
  • Dark Matter Dampening Handcuffs
    Dark Matter Dampening Handcuffs Dampens Dark Matter-based powers
  • Dark Matter Dampening Handcuffs
    Dark Matter Dampening Handcuffs Dampens Dark Matter-based powers
  • Mutant Dampening Collar
    Mutant Dampening Collar Dampens Genetic-based powers
  • Dampening Block Recipe
    Dampening Block Recipe Nether Star, Titanium Blocks, and a Vibranium Circuit
  • Kryptonite Gold Cuffs
    Kryptonite Gold Cuffs Dampens Kryptonian DNA / Applies Kryptonite Poisoning
  • Kryptonite Gold Handcuffs in Inventory Screen
    Kryptonite Gold Handcuffs in Inventory Screen Preview of it in the inventory screen
  • Blocks and Adjustible Radii
    Blocks and Adjustible Radii Redstone activated and adjustible radii!
  • Kryptonite Gold Handcuffs
    Kryptonite Gold Handcuffs Uses Titanium-Gold from Arrzee's Enhanced!

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

~440,000
Total Downloads
CurseForge
~390,000
Modrinth
~45,000
Last Updated
CurseForge
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