Truly Modular: Modular Item API

Truly Modular: Modular Item API

Durability Property

Description

The DurabilityProperty controls the maximum durability of an item. The durability is specified as a Double Resolvable value, which determines the item's maximum damage capacity. This value is applied to the item stack, influencing how much wear and tear the item can withstand before breaking.

Data

  • durability: A Double value representing the maximum durability of the item.