Dyn-Dam-Lib 图标

Dyn-Dam-Lib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/dyn-dam-lib
资源信息

Minecraft 版本: 23w31a

平台: datapack

标签: library

资源介绍

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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
CMIRecipes

价格:0 墨喵币
下载量:0

查看详情
No More Ruined Portals

价格:0 墨喵币
下载量:0

查看详情
The Sound of Rain

价格:0 墨喵币
下载量:0

查看详情
datattributes

价格:0 墨喵币
下载量:0

查看详情