Just like Enchantment Definition, we need a new definition in datapack to modify the existed status effect or create a new status effect. Status Effects are stored as JSON files within a data pack in the path data/<namespace>/status_effect.
Like Enchantment Definition, we can set the Effect components(for example: set attributtes(like strength, speed, slowness). damge immunity(like fire_resistance), damage reduction(like resistance), cause when hurt(like infested), cause when died(like oozing, weaving), durative damage(like poison, wither), instant effect(like instant_health, instant_damage, Saturation)), display name and Level-based value.
Like Painting variant definition, we can set the icon from resourcepack.
We can also decide what mobs will immune this status effect.
Please sign in to leave a comment.
0 Comments