Custom Status Effects
作者:rebot | 分类:模组
Minecraft 版本: 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2
平台: datapack
标签: game-mechanics library utility
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}请登录后举报
暂无评论,抢个沙发吧~