跳转至

物品组件 - minecraft:damage

minecraft:damage组件设置物品的攻击伤害。

参数

名称 默认值 类型 说明
value 未设置 整数 道具在攻击时造成的伤害,必须是正数