Custom Status Effects
Welcome to the Custom Status Effects Datapack This is an easy to use and powerful custom status effect
介绍
Custom Status Effects
Welcome to the Custom Status Effects Datapack
You can temporarily modify an entity’s attributes by adjusting its values
Currently the multiplication formula is supported and more functions and new custom states will be added later
Supports adding multiple custom state IDs and attrubute stacking effects that repeatedly apply attributes for duplicate IDs
How to use?
Custom Attribute Status
Apply custom attributes status effects to the target
attribute: The attributes you want to apply
duration: Duration (1t / 0.05s)
base: The initial value applied
value: The value added upon repeated stacking
max: The maximum value limit
type: add_value, add_multiplied_base, add_multiplied_total
id: You can define the ID as you wish to see the effect, Effects with the same ID and modified attribute will stack; otherwise a new independent one will be created
function cse:sys/status_effects/use {attribute:"armor",duration:40,base:1,value:1,max:5, id:"global",type:"add_value"}
Bleeding Status
When the subject is afflicted with this status
all accumulated dmg other than Bleeding DoT will be recorded
and the subject will take base DoT dmg plus the previously accumulated dmg based on the set duration in seconds
duration: Duration (1t / 0.05s)
tick_rate: Interval for Dot Dmg
dot: Base bleeding dmg dealt
max: The maximum value limit
function cse:status_effects/apply/bleeding/use {duration:100, tick_rate:40, dot:20, max:100}
Soul Restraint
The summoned spear restricts your maximum movement distance for a period of time
allowing you to gradually expand the range or decrease it to a fixed range by adjusting that value
duration: Duration (1t / 0.05s)
value: Only int input is allowed. Each tick determines whether to zoom out or zoom in, or you can set it to 0 to keep it stationary
max: The maximum value limit
function cse:status_effects/apply/soul_restraint/use {duration:100, value:1, max: 8}
Entropy Erosion
After a specific number of seconds
deal 1 point of true dmg in 5 consecutive hits
and this dmg ignores injury intervals
duration: Duration (1t / 0.05s)
tick_rate: Interval for Dot Dmg
damage: Base dmg dealt
function cse:status_effects/apply/entropy_erosion/use {duration:305, tick_rate:100, damage: 5}
常见问题
Custom Status Effects 支持哪些 Minecraft 版本?
Custom Status Effects 支持 Minecraft Java 版 1.21.4–26.1.2,共 11 个版本。下载时注意选择和你游戏版本一致的文件。
Custom Status Effects 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
评论
登录后评论和评分