LogoTruly Modular: Modular Item API

Percent Stats Composite

Description

its type is "miapi:percent_stat" The PercentStatComposite allows you to modify specific stats by providing a map of stat names and their respective percentage values. The values are multiplied with the existing stats of the parent material. If the stat is not found in the map, the parent's stat value is used.

Data

  • stats: A map of stat names (String) and their percentage increase values (Double) to apply to the parent material.