visual_set_edit-1.10.0.0.jar
Curse Maven Snippet
What's new
1.针对部分原因导致属性残留的bug进行修复
2.动态属性支持将指定药水等级作为变量(没有该药水效果视为变量值为0)
3.动态属性新增四条公式:
正弦波:a*sin(2π(x-p)/T)+c
三角波:a*(2/π)*asin(sin(2π(x-p)/T))+c
方波:a*sign(sin(2π(x-p)/T))+c
锯形波:a*(2*frac((x-p)/T)-1)+c
4.动态属性新增占位符%<attribute_id>%
可填入各系数 以及裁剪上下限
将<attribute_id>替换为具体的属性id,代表当前生物该属性的值
支持加减法/乘法/除法/幂
5.计分板注册新增tooltip文本提示/错误格式字体变红且内容不会被保存写入
1.Fixed attribute modifier residue: some edge cases could leave attribute modifiers permanently applied after the set bonus was removed (e.g. timed attributes with 0s cooldown persisting forever, effects removed via GUI leaving stale modifiers). Modifiers are now properly cleaned up on unequip, orphan expiry, login, and preset edits.
2. Dynamic attributes can now use a specific potion effect's level as the variable. Pick a potion effect (e.g. Strength); the variable equals the effect level on the wearer (Strength I = 1, Strength II = 2). If the wearer does not have the effect, the variable value is 0.
3.Four new periodic formulas added to dynamic attributes:
- Sine wave: a·sin(2π(x−p)/T) + c
- Triangle wave: a·(2/π)·asin(sin(2π(x−p)/T)) + c
- Square wave: a·sign(sin(2π(x−p)/T)) + c
- Sawtooth wave: a·(2·frac((x−p)/T) − 1) + c
Each uses four parameters: amplitude a, period T, phase offset p, vertical offset c.
4.Dynamic attribute inputs now support the %<attribute_id>% placeholder in every coefficient box as well as the clip (min/max) fields. It is replaced by that attribute's current value on the entity (including all modifiers). Expressions are supported too — addition, subtraction, multiplication, division, and exponentiation (^), with parentheses, e.g. %minecraft:armor%*2+1.
5.Scoreboard registration screen improvements:
Added a tooltip hint explaining the naming rules.
Invalid names now turn red as you type (only lowercase letters, digits and underscores are allowed), and invalid names will not be saved or written to the objective list — no more crashes from malformed names.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include