get Attribute Value
fun DataComponentGetter.getAttributeValue(attribute: Holder<Attribute>, slot: EquipmentSlot? = null, baseValue: Double = attribute.value().defaultValue): Double
Parameters
slot
if null, all modifiers for the attribute will be applied, otherwise only modifiers for the specified slot
See also
Item Attribute Modifiers
Attribute Instance