LogoTruly Modular: Modular Item API

Add Stats Composite

Description

its type is "miapi:add_stat" The IncreaseStatsComposite allows you to increase specific stats by providing a map of stat names and their respective values. The values are added to 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 increase values (Double) to apply to the parent material.