Dyn-Dam-Lib
A library to easily deal dynamic damage amounts to dynamic targets with dynamic effects
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
The author has not specified where this runs.
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
This Library adds a few functions that will make it very easy to deal custom damage.
You only need to change the following settings that you need in the data storage dynamic_damage:config Settings and then use the command
function dynamic_damage:damage_executer to deal the damage.
If you don't want to use the build-in settings storage, you can create your own with the settings you need.
This time, when calling the function, use:
function dynamic_damage:damage_from_storage with <storage>
or you can directly call the different function versions:
function dynamic_damage:dmg_functions/<default/positioned/source/source_displaced> with <storage>
Current Settings:
- function what version of the damage function is used.
/\!!!Not needed if you use
function dynamic_damage:damage_executer!!!/\ -default: just damage with target and damage type. -positioned: like default but with coordinates where the damage comes from. -source: like default but with a source target selector. -source_displaced: like source but with a target selector to change the source position.
- storage the data storage the function should get the data for the damage command.
/\!!!Not needed if you use
function dynamic_damage:damage_executer!!!/\
- storage_nbt the path to the compount in the selected data storage. If there is none, put a space here.
/\!!!Not needed if you use
function dynamic_damage:damage_executer!!!/\
- target any selector, even stuff like
@e[type=husk,tag=jeff,distance=..30,limit=10]works)
- dmg the damage amount you want to deal
- cause a damage type. If you don't want any special damage type, use generic
- x x coordinates for the positioned function version
- y y coordinates for the positioned function version
- z z coordinates for the positioned function version
- source a source entity, for the source function version
- source_displacement another entity, to act from as the source entity
If you have issues or suggestions go here
Screenshots
Gallery
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.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 19, 2026 6:30 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 19, 2026 6:30 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works