Datattributes
此数据包为 Minecraft 添加了若干属性,但并非通过常规方式实现,而是借助计分板。(因为这是一个数据包)
如何使用?
当你想要修改某项属性时,请执行命令 /scoreboard players set @s a__<attribute> <number>
部分属性的数值需将计分板分数除以 100,以确保你可以设置如 +5% 或 +55% 这样的百分比值
有疑问?
如有问题,请加入 Discord 服务器。
新增属性:
阅读须知:示例
- 描述
- 计分板名称
- +1 分数/“属性”的效果
- 最小值 - 最大值 | 步长(如果步长为 1,则所有数字均可;如果步长为 5,则仅支持 5、10、15 等数值。[这适用于百分比])
剑伤害
- 增加使用剑造成的伤害
a__sword_damage
- 伤害 +1
- 1 - 30 | 1
斧伤害
- 增加使用斧头造成的伤害
a__axe_damage
- 伤害 +1
- 1 - 30 | 1
暴击几率
- 增加获得暴击的几率
a__crit_chance
- 几率 +1%
- 5 - 500 | 5(仅支持能被 5 整除的百分比数值)
暴击伤害加成
- 增加暴击时的伤害量(非 Minecraft 原生暴击,而是指暴击几率带来的伤害提升)
a__crit_damage_add
- 伤害 +0.05
- 50 - 2000 | 50(50 = +0.5,100 = +1,依此类推)
暴击伤害倍率
- 增加暴击伤害倍数(与上一项类似,但此项为乘法计算)
a__crit_damage_multiply
- 伤害 +1%
- 5 - 200 | 5
最低经验等级
- 设定最低经验等级
a__min_xp
- 最低经验等级 +1
- 1 - 30 | 1
最高经验等级
- 设定最高经验等级
a__max_xp
- 最高经验等级 +1
- 1 - 30 | 1
狂战士伤害
- 当生命值低于 10 点(5 颗心)时,提供伤害增益
a__berserk_damage
- 额外伤害 +1%
- 5 - 200 | 5
狂战士速度
- 当生命值低于 10 点(5 颗心)时,提供速度增益
a__berserk_speed
- 额外速度 +1%
- 5 - 200 | 5
狂战士攻击速度
- 当生命值低于 10 点(5 颗心)时,提供攻击速度增益
a__berserk_attack_speed
- 额外攻击速度 +1%
- 5 - 200 | 5
锚定
- 在静止不动时,提供击退抗性增益
a__anchor
- 额外击退抗性 +10%
- 1 - 10 | 1
日间抗性
- 在白天时,提供额外的护甲点数
a__day_resistance
- 额外护甲点 +1
- 1 - 30 | 1
夜间抗性
- 在夜晚时,提供额外的护甲点数
a__night_resistance
- 额外护甲点 +1
- 1 - 30 | 1
日间伤害
- 在白天时,提供额外的伤害量
a__day_damage
- 额外伤害点 +1
- 1 - 30 | 1
夜间伤害
- 在夜晚时,提供额外的伤害量
a__night_damage
- 额外伤害点 +1
- 1 - 30 | 1
Datattributes
This datapack adds several attributes to minecraft, but not via normal ways, but with scoreboards. (because it's a datapack)
How to use it?
When you want to change one of the attributes, you do /scoreboard players set @s a__<attribute> <number>
Some attributes are: scoreboard score divided by 100 to make sure you can do +5%, or +55%
Questions?
For questions, join the discord server
Added attributes:
Read This First: Example
- description
- scoreboard name
- what +1 score/"attribute" does
- Min value - max value | step amount (if it's 1 all numbers are ok, if it's 5 only 5, 10, 15 etc work. [that's for percentages])
Sword Damage
- Increases damage done with swords
a__sword_damage
- +1 damage
- 1 - 30 | 1
Axe Damage
- Increases damage done with axes
a__axe_damage
- +1 damage
- 1 - 30 | 1
Crit Chance
- Increases chance to get a crit
a__crit_chance
- +1% chance
- 5 - 500 | 5 (only percentages divisible by 5 work)
Crit Damage Add
- Increases damage you get with a crit (not minecraft crit but crit chance)
a__crit_damage_add
- +0.05 damage
- 50 - 2000 | 50 (50 = +0.5, 100 = +1 etc)
Crit Damage Multiply
- Increases crit damage (same as previous but this one multiplies)
a__crit_damage_multiply
- +1% damage
- 5 - 200 | 5
Min XP
- Sets a minimum xp level
a__min_xp
- +1 minimum xp lvl
- 1 - 30 | 1
Max XP
- Sets a maximum xp level
a__max_xp
- +1 maximum xp lvl
- 1 - 30 | 1
Berserk Damage
- Gives damage boost if you are under 10 hp (5 hearts)
a__berserk_damage
- +1% extra damage
- 5 - 200 | 5
Berserk Speed
- Gives speed boost if you are under 10 hp (5 hearts)
a__berserk_speed
- +1% extra speed
- 5 - 200 | 5
Berserk Attack Speed
- Gives attack speed boost if you are under 10 hp (5 hearts)
a__berserk_attack_speed
- +1% extra attack speed
- 5 - 200 | 5
Anchor
- Gives knockback resistance boost if you are standing still
a__anchor
- +10% extra knockback resistance
- 1 - 10 | 1
Day Resistance
- Gives extra armor points when it's day
a__day_resistance
- +1 extra armor point
- 1 - 30 | 1
Night Resistance
- Gives extra armor points when it's night
a__night_resistance
- +1 extra armor point
- 1 - 30 | 1
Day Damage
- Gives extra damage when it's day
a__day_damage
- +1 extra damage point
- 1 - 30 | 1
Night Damage
- Gives extra damage when it's night
a__night_damage
- +1 extra damage point
- 1 - 30 | 1
评论 0
登录后参与评分
还没有评论,来抢沙发吧