Durability¶
文档版本:1.21.50.25
Durability item component: how much damage can this item take before breaking.
架构¶
minecraft:durability:
{
object "damage_chance" : opt
{
integer "min" : opt
integer "max" : opt
}
integer "max_durability" : opt
}
damage_chance
:object- Damage chance.
damage_chance
min
:integer- The minimum.
max
:integer- The maximum.
max_durability
:integer- Maximum durability is the amount of damage that this item can take before breaking.